stress-ng
Load and stress a Linux system in various ways (CPU, memory, I/O, etc.). Useful for benchmarking, hardware validation, and stability testing. More information: https://manned.org/stress-ng.
- Stress all CPUs with 4 workers for 60 seconds:
stress-ng 4 60s
- Stress virtual memory with 2 workers for 30 seconds:
stress-ng 2 --vm-bytes 30s
- Stress the I/O subsystem with 3 workers for 45 seconds:
stress-ng 3 45s
- Run all stress tests for 2 minutes:
stress-ng 2m
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
