How did you do the Health check in Linux?



How did you do the Health check in Linux?..

Answer / 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

More Linux Commands Interview Questions

What is SFC command?

0 Answers  


What is the syntax of mkdir?

0 Answers  


What are whois tools?

0 Answers  


What is the copy command in linux?

0 Answers  


What command you execute to display the last five commands you have entered?

4 Answers  






What is nslookup command?

0 Answers  


Explain about the command lynx?

0 Answers  


What is llvm used for?

0 Answers  


What is $@ in shell?

0 Answers  


The command ‘umask -S’

0 Answers  


Why is it called bash?

0 Answers  


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

0 Answers  


Categories