Go Back   Web User Forums > Welcome > Feedback & Announcements

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23-08-18, 17:13
Steve Barr Steve Barr is offline
Newbie
 
Join Date: Aug 2018
Posts: 2
Default netstat -abf 5 command query ...

Re current issue WU 456,

A Forum Post in Top Tips gave the above PowerShell/CP command referring to what connects to the internet when the computer is idle.

I can follow the netstat -abf part, but what does the numeral '5' refer to and what (if any) are the parameters ?.

With thanks, Steve.
Reply With Quote
  #2  
Old 23-08-18, 17:35
Cantrel Cantrel is offline
Global Moderator
 
Join Date: Jul 2012
Location: UK
Posts: 11,320
Default Re: netstat -abf 5 command query ...

The 5 relates to them being updated every 5 seconds.
Reply With Quote
  #3  
Old 23-08-18, 17:38
Steve Barr Steve Barr is offline
Newbie
 
Join Date: Aug 2018
Posts: 2
Default Re: netstat -abf 5 command query ...

Cheers !!.. thank you very much !...
Reply With Quote
  #4  
Old 23-08-18, 17:42
Bedstor's Avatar
Bedstor Bedstor is online now
Top contributor
 
Join Date: Jul 2003
Location: On the Bus route to Wigan Pier
Posts: 12,840
Default Re: netstat -abf 5 command query ...

Quote:
but what does the numeral '5' refer to and what (if any) are the parameters ?.
The "5" is a "Flag" command to redo the Task every 5 seconds No number then the Task cycles 1 time.
Off the MS support page https://docs.microsoft.com/en-us/win...mmands/netstat
Quote:
To display active TCP connections and the process IDs every 5 seconds, type:
netstat -o 5
__________________
You're Welcome.
Reply With Quote
  #5  
Old 23-08-18, 17:55
Cantrel Cantrel is offline
Global Moderator
 
Join Date: Jul 2012
Location: UK
Posts: 11,320
Default Re: netstat -abf 5 command query ...

Here is another article which shows you how to use the netstat cmd and its usefulness.

https://kevincurran.org/com320/labs/netstat.html
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT. The time now is 19:51.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright Dennis Publishing 2010, All rights reserved