Difference between revisions of "Stress"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
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>

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: