Difference between revisions of "Stress"
Jump to navigation
Jump to search
(23 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}} |
[[Category:Linux commands]] | [[Category:Linux commands]] |
Latest revision as of 10:49, 27 May 2024
stress
generates CPU load on systems.
stress --cpu 20
stress --help
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]
- Load testing, K6
nice
,stress
,stress-ng
,tload
,ionice, %nice, %idle
top
,ntop
,htop
,atop
,iotop
,systemd-cgtop
,virt-top
,stress
,slabtop
,docker stats
,docker top
,docker container top
,docker-compose top
,nmon
,tload
,kubectl top pod PODNAME
,sar
,kubectl top
,glances
,vmstat, gpustat, asitop
- Memory: memory pages, RAM, virsh Memory Commands, OOM, meminfo,
vmstat
, NAND, DDR,lsmem
,/dev/shm
,/proc/meminfo
,sar -r
, IOMMU,pmem
, Memory management, Garbage collector, THP, Linux Huge Page TLB
Advertising: