Windows 10 - How do I keep netstat constantly running?

I want to make it so the "netstat" command is constantly running. How do you do that?

1

4 Answers

Use the interval switch (see below):

enter image description here

You create a batch file for netstat using loop

:loop
netstat -nao | findstr :80
timeout /T 500
clear
goto loop

I use this command

netstat -an 5

here 5 does the magic for netstat. it represents time interval. so once once completed, it will wait for that much of time e.g. in this case it will wait for 5 seconds. ....cheers

use --contious or -c for example:

netstat -ano -p -c
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like