Skip to content

Commit cadbf83

Browse files
authored
stress-ng: add page (#16993)
1 parent 065d855 commit cadbf83

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pages/common/stress-ng.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# stress-ng
2+
3+
> Load and stress a Linux system in various ways (CPU, memory, I/O, etc.).
4+
> Useful for benchmarking, hardware validation, and stability testing.
5+
> More information: <https://manned.org/stress-ng>.
6+
7+
- Stress all CPUs with 4 workers for 60 seconds:
8+
9+
`stress-ng {{[-c|--cpu]}} 4 {{[-t|--timeout]}} 60s`
10+
11+
- Stress virtual memory with 2 workers for 30 seconds:
12+
13+
`stress-ng {{[-m|--vm]}} 2 --vm-bytes {{512M}} {{[-t|--timeout]}} 30s`
14+
15+
- Stress the I/O subsystem with 3 workers for 45 seconds:
16+
17+
`stress-ng {{[-i|--io]}} 3 {{[-t|--timeout]}} 45s`
18+
19+
- Run all stress tests for 2 minutes:
20+
21+
`stress-ng {{[-a|--all]}} {{1}} {{[-t|--timeout]}} 2m`

0 commit comments

Comments
 (0)