How did you do the Health check in Linux?

Answer Posted / lokesh

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

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to check cpu speed in linux?

598


What does r mean linux?

678


How do you create a blank file in linux?

577


Is makefile a shell script?

635


What is command line in unix?

585






How do I change shell in linux?

597


What is #!/ Bin sh?

624


What is tty in linux process?

603


what is the roles and responsibilities in linux system admin having 2yrs exp..?

3841


What is makefile in unix?

646


How do I change directories in linux command line?

537


How to root mirror in linux?

659


How do you insert comments in the command line prompt?

851


How do I check my system performance?

646


What is the difference between command ‘ping’ and ‘ping6’?

615