To Check the load average in linux
1) loadavg file
oracle@testdb 11.1.0]$ cat /proc/loadavg
17.72 17.59 17.93 2/472 22465
2) “w” command
oracle@testdb 11.1.0]$ w
13:50:42 up 4 days, 5:20, 6 users, load average: 17.87, 17.64, 17.93
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/1 :1.0 Sun11 2:28m 0.03s 1.66s gnome-terminal
root pts/2 172.16.80.74 Wed10 2:43m 0.01s 0.00s -bash
root pts/3 172.16.80.74 Wed10 52:53 0.04s 0.01s -bash
root pts/4 172.16.80.74 Wed14 0.00s 0.02s 0.01s w
3) uptime command
oracle@testdb 11.1.0]$ uptime
13:50:30 up 4 days, 5:19, 6 users, load average: 17.82, 17.62, 17.93
4) top command
top - 13:58:29 up 4 days, 5:27, 6 users, load average: 16.98, 17.78, 17.95
Tasks: 457 total, 1 running, 456 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.1%sy, 0.0%ni, 82.0%id, 17.6%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16104528k total, 16081828k used, 22700k free, 29076k buffers
Swap: 18481144k total, 345656k used, 18135488k free, 13289392k cached
No comments:
Post a Comment