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

How do you sort cpu in top command?

524


What are the 4 kinds of sentences with examples?

580


How do I find the process id in linux?

525


Is makefile a shell script?

552


What is make in linux?

526






How does case sensitivity affect the way you use commands?

650


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

490


What command should you use to check your file system?

525


How do I check disk space in bash?

491


What is $@ in makefile?

556


What does the ps command do in linux?

524


What is history command in linux?

542


Enlist some linux networking and troubleshooting commands?

517


Where can I find bash in linux?

536


What is $$ in shell script?

513