Difference between revisions of "Stress"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
* <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 ==

Revision as of 16:26, 23 March 2023

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

Stress using 1 cpu:

  • stress --cpu 1

Stress using IO-bound task

  • stress -i 3

Related commands

See also

Advertising: