- 论坛徽章:
- 0
|
本帖最后由 满天星 于 2013-10-29 16:03 编辑
看了一些网上关于top和load average的介绍,确实搞不懂!先贴二台server的情况,请论坛的兄弟们指点一二:
Server A:
load average 在11左右,cpu在60%左右徘徊- [root@F18-32 ~]# uptime
- 15:45:48 up 48 days, 5:51, 1 user, load average: 11.34, 11.59, 11.53
- [root@F18-32 ~]#
- top - 15:46:13 up 48 days, 5:51, 1 user, load average: 11.93, 11.69, 11.56
- Tasks: 501 total, 2 running, 499 sleeping, 0 stopped, 0 zombie
- Cpu(s): 67.8%us, 16.6%sy, 0.0%ni, 8.4%id, 0.0%wa, 0.0%hi, 7.2%si, 0.0%st
- Mem: 24592048k total, 11253148k used, 13338900k free, 205908k buffers
- Swap: 12369912k total, 23728k used, 12346184k free, 481840k cached
- [root@F18-32 ~]# uname -a
- Linux F18-32 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
- [root@F18-32 ~]# cat /etc/issue
- CentOS release 6.3 (Final)
- Kernel \r on an \m
- [root@F18-32 ~]#
复制代码 Server B:
load average 在2左右,cpu在40%左右徘徊- [root@F18_20 ~]# uptime
- 23:58:18 up 32 days, 19:42, 1 user, load average: 2.03, 2.13, 2.33
- [root@F18_20 ~]#
- top - 23:58:42 up 32 days, 19:42, 1 user, load average: 2.02, 2.12, 2.33
- Tasks: 1109 total, 1 running, 1108 sleeping, 0 stopped, 0 zombie
- Cpu(s): 40.1%us, 17.8%sy, 0.0%ni, 41.2%id, 0.0%wa, 0.0%hi, 0.9%si, 0.0%st
- Mem: 264482264k total, 98835712k used, 165646552k free, 310836k buffers
- Swap: 18431992k total, 0k used, 18431992k free, 837192k cached
- [root@F18_20 ~]# uname -a
- Linux F18_20 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
- [root@F18_20 ~]# cat /etc/issue
- CentOS release 6.3 (Final)
- Kernel \r on an \m
- [root@F18_20 ~]#
复制代码 |
|