Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (29.3k points)

Stress command is not working on my instance when I try to work on the stress tool for cpu utilization.

1 Answer

0 votes
by (50.2k points)
Have you install the stress tool using: 
sudo yum install stress
First, turn on EPEL repo and then type the following yum command to install a stress tool.
Even then if you got the error again use the following commands:
## if install path not set in /etc/pkg.conf as follow ##
## installpath = http://mirror.esc7.net/pub/OpenBSD/%c/packages/%a/ use ##
## PKG_PATH ##
export PKG_PATH=http://ftp.usa.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`
pkg_add stress

Related questions

Browse Categories

...