Displays generic net statistics of the host you are currently connected to.
#netstat
Shows all connections to the server including the source and destination ips and ports if you have proper permissions.
#netstat -an
Displays routing table for all ips bound to the server.
#netstat -rn
Display the amount of active connections on port 80. Removing the pipe and wc command would display each connection.
#netstat -an |grep :80 |wc -l
Display active Internet connections.
#netstat -natp
Display the Port of ssh
#netstat -lntp | grep ssh
Friday, February 10, 2012
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment