Vaibhav submitted a new resource:
Server Monitoring with Linux inbuild Tools/Commands - Unix Server Monitoring
Read more about this resource...
Server Monitoring with Linux inbuild Tools/Commands - Unix Server Monitoring
How to take Server CPU Utilization?
Answer:
vmstat $interval $numberOfSamples
Sample Output:
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
5 0 0 2461704 179196 1664128 0 0 1 5 40 48 4 1 95 0 0
0 0 0 2461968 179196 1664184 0 0 0 27 1660 2161 2 3 95 0 0
10 0 0 2464308 179196 1664240 0 0 0 22 3470 3160 19 3 77 0 0
or
sar -u $interval $numberOfSamples...
Read more about this resource...