Commands to check the status of workstations
First things to do is to check the status of load average.
-bash-4.2$ uptime
09:47:08 up 24 days, 16:07, 1 user, load average: 0.11, 0.05, 0.06
Next, check the status of each CPU core.
-bash-4.2$ top -b -n 1 | head
top - 03:11:40 up 28 days, 11:32, 1 user, load average: 19.08, 19.15, 19.13
Tasks: 217 total, 1 running, 215 sleeping, 0 stopped, 1 zombie
Cpu0 : 5.5%us, 2.9%sy, 0.0%ni, 91.0%id, 0.1%wa, 0.0%hi, 0.5%si, 0.0%st
Cpu1 : 1.5%us, 1.2%sy, 0.0%ni, 97.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 1.1%us, 0.9%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
...
Swap: 4194304k total, 0k used, 4194304k free, 4194302k cached
Then, to check the each PID process, type
-bash-4.2$ top -n 1 -b | egrep "PID|updatedb"
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1535 root 39 19 3868 796 524 D 0.0 0.0 0:00.03 /usr/bin/updatedb -f ...
7138 root 39 19 3868 788 524 D 0.0 0.0 0:00.02 /usr/bin/updatedb -f ...