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 the difference between cd and cd in linux?

0 Answers  


You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?

0 Answers  


What is the programming language for linux?

0 Answers  


What is whois command in linux?

0 Answers  


why is the tar command used?

0 Answers  






What is the command can be run to remove all the rules in an iptable table?

0 Answers  


Explain about refer?

0 Answers  


how do u find remote machine operating system and version?

10 Answers   Wipro,


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

0 Answers  


Difference between swap partition and swap file?

4 Answers   IIHT, TATA, Wipro,


What does uname command do?

0 Answers  


How can I know my linux os is 32 bit or 64 bit? and How can i know my CPU is 32 bit or 64 bit in linux machine environment.?

7 Answers  


Categories