Posts

Showing posts with the label monitoring

Linux monitoring tool that administrators use every day.

netstat Netstat, like ps, is a Linux tool that administrators use every day. It displays a lot of network related information, such as socket usage, routing, interface, protocol, network statistics, and more. Some of the most commonly used options are: -a Show all socket information -r Show routing information -i Show network interface statistics -s Show network protocol statistics ============= [root@server1 ~]# netstat -s Ip:     15052515222 total packets received     2847931 with invalid headers     14 with invalid addresses     15024657038 forwarded     0 incoming packets discarded     22028450 incoming packets delivered     15055903966 requests sent out     2633 outgoing packets dropped     260 dropped because of missing route     10469 fragments dropped after timeout     5600773 reassemblies required     2727990 packets reassembled ok  ...