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

why context switching time should be minimum? How it depends on hardware support?

0 Answers   Flipkart,


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?

0 Answers  


What is bash linux?

0 Answers  


what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is the command to change ownership of a file?

9 Answers   HCL, IPsoft,


find out what file systems supported by kernel?

4 Answers  






You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?

0 Answers  


Which command is used to see the online manual?

0 Answers  


What the command used for list the contents of your home directory, current directory and all subdirectories?

0 Answers  


What is kill command?

0 Answers  


What does p mean linux?

0 Answers  


How do I find the umask value in linux?

0 Answers  


what is the command to make a process to run in the background from foreground?

5 Answers   Patni,


Categories