@ohshit604@lemmy.halstead.host
Post #4018119
2026-07-22 17:23 UTC
What distro are you using? There are 3 big distro’s you need to keep in mind for, Debian, Arch and Fedora, every other distro typically bases themselves off of one of these big distro’s.
documentation is your friend, that means lots of reading and interpretation, if you’re using a Debian based distros the stress ng repository linked above has this in their documentation -
Debian packages for Ubuntu
Recent versions of stress-ng are available in the Ubuntu stress-ng ppa for various Ubuntu releases:
launchpad.net/~colin-king/+archive/…/stress-ng
(run the commands below to install the software)
sudo add-apt-repository ppa:colin-king/stress-ng
sudo apt update
sudo apt install stress-ng
Now that is installed, they have an examples section.
Examples
Run 8 CPU stressors for 60 seconds:
stress-ng --cpu 8 --timeout 60
stress-ng: info: [184401] setting to a 1 min run per stressor
stress-ng: info: [184401] dispatching hogs: 8 cpu
stress-ng: info: [184401] skipped: 0
stress-ng: info: [184401] passed: 8: cpu (8)
stress-ng: info: [184401] failed: 0
stress-ng: info: [184401] metrics untrustworthy: 0
stress-ng: info: [184401] successful run completed in 1 min
Replies (0)
No replies.