gpt4 book ai didi

linux -/proc/loadavg 中的数字在 Linux 上是什么意思?

转载 作者:IT老高 更新时间:2023-10-28 12:30:33 28 4
gpt4 key购买 nike

在 Linux 上发出此命令时:

# cat /proc/loadavg
0.75 0.35 0.25 1/25 1747

前三个数字是平均负载。最后 2 个数字是多少?

最后一个每秒不断增加2,我应该担心吗?

最佳答案

/proc/loadavg

The first three fields in this file are load average figures givingthe number of jobs in the run queue (state R) or waiting for diskI/O (state D) averaged over 1, 5, and 15 minutes. They are thesame as the load average numbers given by uptime(1) and otherprograms.

The fourth field consists of two numbers separated by aslash (/). The first of these is the number of currently executingkernel scheduling entities (processes, threads); this will be lessthan or equal to the number of CPUs. The value after the slash is thenumber of kernel scheduling entities that currently exist on thesystem.

The fifth field is the PID of the process that was mostrecently created on the system.

关于linux -/proc/loadavg 中的数字在 Linux 上是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11987495/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com