Content deleted Content added
m Bot: http → https |
mNo edit summary |
||
Line 6:
== Unix-style load calculation ==
All Unix and Unix-like systems generate a dimensionless [[Software metric|metric]] of three "load average" numbers in the [[kernel (operating system)|kernel]]. Users can easily query the current result from a [[Unix shell]] by running the <code>[[uptime]]</code> command:
<syntaxhighlight lang="console">
$ uptime
14:34:03 up 10:43, 4 users, load average: 0.06, 0.11, 0.09
</syntaxhighlight>
The [[W (Unix)|<code>w</code>]] and [[
In operating systems based on the [[
To explore this kind of information in depth, according to the Linux's [[Filesystem Hierarchy Standard]], architecture-dependent information are exposed on the file <code>/proc/stat</code>.<ref>{{Cite web
Line 95 ⟶ 96:
A post on the Linux mailing list considers its {{tt|+1}} tick insufficient to avoid Moire artifacts from such collection, and suggests an interval of 4.61 seconds instead.<ref>{{cite web |last1=Ripke |first1=Klaus |title=Linux-Kernel Archive: LOAD_FREQ (4*HZ+61) avoids loadavg Moire |url=https://lkml.iu.edu/hypermail/linux/kernel/1111.1/02446.html |website=lkml.iu.edu |date=2011}} [http://ripke.com/loadavg/moire graph & patch]</ref> This change is common among [[Android system]] kernels, although the exact expression used assumes an HZ of 100.<ref>{{cite web |title=Patch kernel with the 4.61s load thing · Issue #2109 · AOSC-Dev/aosc-os-abbs |url=https://github.com/AOSC-Dev/aosc-os-abbs/issues/2109 |website=GitHub |language=en}}</ref>
== Other system performance commands ==
Other commands for assessing system performance include:
* <code>[[uptime]]</code>{{Snd}} the system reliability and load average
Line 115 ⟶ 116:
* [[CPU usage]]
== References ==
{{reflist}}
== External links ==
* {{cite web
|author = Brendan Gregg
|