Loading
Home ›
Use netstat to See Internet Connections
Feb 20, 2009 By Erik Falor
in
Using netstat, you can monitor programs that are making connections to remote hosts:
$ netstat -tpe
The -t flag limits the output to show only TCP connections. The -p flag displays the PID and name of the program making the connection. The -e flag displays extra information, such as the user name under which each program is running.
______________________
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
- I didn't knew this thing by
2 hours 18 min ago - Author's reply
5 hours 43 min ago - Link to modlys
6 hours 49 min ago - I use YNAB because of the
7 hours 1 min ago - Search
12 hours 4 min ago - Question
12 hours 27 min ago - for the record
12 hours 30 min ago - That's disappointing. Thanks
14 hours 53 min ago - Well spotted. I've corrected
16 hours 22 min ago - This is a great program. We
19 hours 22 min ago





Comments
Just as a reminder, using -n
Just as a reminder, using -n option (for numeric) bypasses sometimes slow reverse DNS lookups. :)
serviced apartments liverpool
Netstat is the best tool for command line and to display network connections.
Netstat is the best tool for
Netstat is the best tool for command line and to display network connections.
my .bashrc alias
my
.bashrc
alias n='netstat -p -a -A inet'
alias n6='netstat -p -a -A inet6'
alias nn='netstat -pn -a -A inet'
alias nn6='netstat -pn -a -A inet6'
Thanks ...
Thanks ...