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 |
What is clang llvm?
Explain trap command; shift command, getopts command of linux?
what is work of dns
What is the gcc command?
What is the purpose of the 'ps' command?
what is snmp and for what purpose we are using in linux
What is command to check ports running/used over local machine
What does history command do in linux?
What is devops linux?
Is llvm a virtual machine?
how to restart apache server with out shatdown?
You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?