9

如果我通过 shell 在我的服务器上调用 uptime,我会得到如下字符串:

# uptime
22.23.23 up 5 days, 51 min, 3 users, load average 34.32 16.08 5.07

这部分是什么意思负载平均 34.32 16.08 5.07究竟是什么 - 为什么是三位数?它是指三个核心还是什么?

4

1 回答 1

9

它们是过去 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

于 2012-05-14T18:28:29.757 回答