Server Health Check Status commands in Linux

Top :

Top Command can provide the top processes, CPU Load, Memory Utilization, Swap Utilization, Running/Zombie Process, Uptime, etc..

iostat:

This command will provide the information about the disk utilization, Read/Write rate, etc..

vmstat:

vmstat command provides the swap memory utilization report.

sar (System Activity Reporter):

sar tool can provide the report about CPU Load, iowait and other useful info at specified intervals.

dmesg:

dmesg command displays all the server errors including Hardware, booting, network errors

This command will retrieve the information from log files which located in /var/log

Other Useful commands to collect some info about the server :

runlevel – To Know the Current Run Level

netstat –a – To see the Network sessions

netstat –rn – To View the gateways configured

who / finger – To View the Users logged in detail

ps –ef – To view all the running process and its related files

sestatus – To check SELINUX status

service iptables status – To check firewall status

ifconfig –a – To View the Network cards and IP Address configured

About these ads

2 Comments

Filed under Tips

2 responses to “Server Health Check Status commands in Linux

  1. Amani Musomba

    I have learnt some new commands..
    thank you for the article

  2. Highly energetic post, I loved that bit. Will there be a part 2?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s