linux – 系统负载能达到多高?

每次我通过SSH登录我的服务器时,它都会闪现一些服务器信息. IE IP地址,交换使用,内存使用等.它闪现的另一件事是系统负载.现在大多数时候系统负载数是<1. 0.10但是其他时候它我已经看到它上升到0.89(通常在启动时). 这就提出了一个问题,系统负载有多高?例如它有可能达到2.00甚至100.00?

解决方法

This this brings up the question,how high can system load go? For instance is it possible
for it to go up to 2.00 even 100.00?

绝对.查看正常运行时间页面:

System load averages is the average number of processes that are either
   in a runnable or uninterruptable state.  A process in a runnable  state
   is  either  using the CPU or waiting to use the CPU. A process in unin‐
   terruptable state is waiting for some I/O access,eg waiting for  disk.
   The  averages  are  taken over the three time intervals.  Load averages
   are not normalized for the number of CPUs in a system,so a load  aver‐
   age  of 1 means a single CPU system is loaded all the time while on a 4
   CPU system it means it was idle 75% of the time.

因此,如果您有许多进程等待运行(或许多进程被阻塞等待I / O),那么您将获得高负载平均值. This article更详细地讨论了它,并且有其他资源的有用链接.

在卸载的系统上,负载平均值通常在0 <= load_average< = n的范围内,其中n是系统上的核心数.

相关文章

文章浏览阅读1.8k次,点赞63次,收藏54次。Linux下的目录权限...
文章浏览阅读1.6k次,点赞44次,收藏38次。关于Qt的安装、Wi...
本文介绍了使用shell脚本编写一个 Hello
文章浏览阅读1.5k次,点赞37次,收藏43次。【Linux】初识Lin...
文章浏览阅读3k次,点赞34次,收藏156次。Linux超详细笔记,...
文章浏览阅读6.8k次,点赞109次,收藏114次。【Linux】 Open...