Using netstat to monitor your internet connections

The following command will show a list of your TCP and UDP internet connections, along with the PIDs of the programs that are using them:

netstat -tup

As with most commands, you can keep an eye on it by running it through the watch command:

watch netstat -tup

Last modified: 14/02/2007 Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top