vaheeD khoshnouD

linux, mikrotik, macosx

netstat syntax by example

Written by vaheeD on December 28, 2012
4.00 avg. rating (84% score) - 1 vote


# netstat -tunapo

-t : tcp
-u : udp
-n : don’t resolve names
-a : display all sockets
-p : display PID/Program name for sockets
-o : display timers

# netstat -nr

-n : don’t resolve names
-r : display routing table

# netstat -ni | column -t

-n : don’t resolve names
-i : display interface table

# netstat -npl

-l : show only listening sockets.

# netstat -nCc

-C : show routing info from the route cache.
-c : continuous listing


 

4.00 avg. rating (84% score) - 1 vote

Posted Under: Linux, Macosx

About vaheeD

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected by WP Anti Spam