Performance monitoring

From Tech-Wiki
Revision as of 18:47, 1 February 2017 by Fabricio.Lima (Talk | contribs)

Jump to: navigation, search

top - Interactive process monitoring tool

# top

lsof - List open files and sockets/pipes as well

# lsof

htop - Advanced interactive process monitoring tool

# htop

iotop - Display real time Disk I/O and process

# iotop

tcpdump - Network packet capture (Sniffer)

# tcpdump -n -i eth0 src host 10.1.1.1 and dst host 10.1.1.10 and port 80
# tcpdump -w - | tee capture.pcap | tcpdump -r -   (write to file and standard output the same time)

Collectl - Powerful and feature rich command line utility that monitors CPU, memory, disk and network

iptraf - Real time IP and network monitoring

# iptraf

vmstat - Display statistics of virtual memory, kernel, disks, process, I/O blocks and CPU activity

# vmstat
# vmstat -s  (other visualization)
# vmstat -S m (show MB instead of KB)

iostat - Display statistics of CPU, disk I/O and NFS

# iostat
# iostat -m   (show MB/sec instead of blocks/sec)
# iostat -n

Additional tools: iperf, ntop, apache mod_status