Difference between revisions of "Stress"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<code>stress</code> generates [[CPU]] load on systems.
 
<code>stress</code> generates [[CPU]] load on systems.
  
* [[macOS]]: <code>[[brew install]] stress</code>
+
* [[macOS]]: <code>[[brew install stress]]</code>
  
 
* <code>stress --cpu 20</code>
 
* <code>stress --cpu 20</code>
 
* <code>[[stress --help]]</code>
 
* <code>[[stress --help]]</code>
 +
 +
 +
stress --cpu 192
 +
 +
[[sar -w]]
 +
04:22:01 PM    proc/s  cswch/s
 +
04:23:01 PM      4.24  1762.35
 +
04:24:02 PM      0.96  4365.97
  
 
== Examples ==
 
== Examples ==
Line 14: Line 22:
  
 
== Related commands ==
 
== Related commands ==
* [[cgexec]]
+
* <code>[[cgexec]]</code>
 
* <code>[[xz]]</code>
 
* <code>[[xz]]</code>
 
* <code>[[stress-ng]]</code>
 
* <code>[[stress-ng]]</code>
 +
* <code>[[cpuburn]]</code>
 +
* [[ab]]
 +
* [[Cortisol]]
  
 
== See also ==
 
== See also ==

Latest revision as of 10:49, 27 May 2024

stress generates CPU load on systems.


stress --cpu 192

sar -w
04:22:01 PM    proc/s   cswch/s
04:23:01 PM      4.24   1762.35
04:24:02 PM      0.96   4365.97

Examples[edit]

Stress using 1 cpu:

  • stress --cpu 1

Stress using IO-bound task

  • stress -i 3

Related commands[edit]

See also[edit]

Advertising: