计算机基础
linux
【Q297】服务器的平均负载如何计算

服务器的平均负载如何计算

Issue 欢迎在 Gtihub Issue 中回答此问题: Issue 299 (opens in a new tab)

Author 回答者: shfshanyue (opens in a new tab)

load average 指单位时间内运行态进程及不可中断进程的平均进程数,运行态进程指正在使用或者 等待使用 CPU 的进程,不可中断进程指正等待一些 IO 操作的进程。可使用 uptime 查看此指标。

$ uptime
 16:48:09 up 2 days, 23:43,  2 users,  load average: 0.01, 0.21, 0.20