Linux : Performance Monitoring & Statistics

In this post, I’m going to give some list of Linux commands, which is very useful to get system performance monitoring & statistics information.

#Shows and manage the top processes

top

#Show interactive process viewer

htop

#Shows processors related statistics

mpstat

#Shows virtual memory related statistics

vmstat

#Shows I/O statistics

iostat

#Shows the last 100 syslog messages ( use /var/log/messages )

tail 100 /var/log/messages

#Captures & shows all packets on interface eth0

tcpdump -i eth0

#Monitor all traffic on port 80 ( HTTP )

tcpdump -i eth0 ‘port 80’

#List all open files on the system

lsof

#List files opened by user

lsof -u user

#Shows free & used memory ( -h for human readable, -m for MB, -g for GB. )

free -h

#To see periodic updates, execute “df -h”

watch df -h

To contribute :

” If you like Advance Computing and would like to contribute, you can  mail your article to “computingadvance@gmail.com”. You will get credit as your name , email id, designation with article on this blog. “

Leave a Reply