如果我通过
shell在我的服务器上调用正常运行时间,我得到这样的字符串:
# 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 –
为什么三位数?它意味着三个核心还是什么?
它们是过去1分钟,5分钟和15分钟的平均负载,它们与您的核心无关.
原文链接:https://www.f2er.com/bash/384842.html从手册页:
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.