【发布时间】:2012-05-22 06:27:23
【问题描述】:
如果我通过 shell 在我的服务器上调用 uptime,我会得到如下字符串:
# uptime
22.23.23 up 5 days, 51 min, 3 users, load average 34.32 16.08 5.07
这部分是什么意思 load average 34.32 16.08 5.07 究竟是什么 - 为什么是三位数?是指三个核心还是什么?
【问题讨论】:
如果我通过 shell 在我的服务器上调用 uptime,我会得到如下字符串:
# uptime
22.23.23 up 5 days, 51 min, 3 users, load average 34.32 16.08 5.07
这部分是什么意思 load average 34.32 16.08 5.07 究竟是什么 - 为什么是三位数?是指三个核心还是什么?
【问题讨论】:
它们是过去 1、5 和 15 分钟的平均负载,它们与您的核心无关。
来自手册页:
uptime gives a one line display of the following information. The
current time, how long the system has been running, how many users
are currently logged on, and the system load averages for the past
1, 5, and 15 minutes.
欲了解更多信息,请参阅man uptime。
【讨论】: