Difference between revisions of "Stress"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{lc}}
 
<code>stress</code> generates [[CPU]] load on systems.
 
<code>stress</code> generates [[CPU]] load on systems.
  
 +
* [[macOS]]: <code>[[brew install]] stress</code>
 +
 +
* <code>stress --cpu 20</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 ==
 +
Stress using 1 cpu:
 
* <code>stress --cpu 1</code>
 
* <code>stress --cpu 1</code>
 +
Stress using [[IO]]-bound task
 +
* <code>stress -i 3</code>
  
 +
== Related commands ==
 +
* <code>[[cgexec]]</code>
 +
* <code>[[xz]]</code>
 +
* <code>[[stress-ng]]</code>
 +
* <code>[[cpuburn]]</code>
 +
* [[ab]]
 +
* [[Cortisol]]
  
 
== See also ==
 
== See also ==
 +
* {{load}}
 
* {{nice}}
 
* {{nice}}
 
* {{top}}
 
* {{top}}
* [[memory]]
+
* {{memory}}
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Latest revision as of 21:41, 9 March 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: