Answer
Yes it is possible to test fake load average on linux servers, we sugguest you two ways to increase your CPU load average. One you can simply use below command to produce load.
cat /dev/zero > /dev/null
this command will utilizes 1 core
you can also install a package called stress, which can also produce fake load average. The package can be installed using yum (for redhat based) or apt-get (for debian based) command, it's depends on your linux distribution. After installing the package you can use below command to achieve high load average
stress --cpu 1 ( 1 is no of cores in your cpu )
When i run yum install stress command it's shows error No package stress available. How do i install the package? am i missing anything?
Install epel repository and then try to install stress package.
yum install epel-release -y
How can i achieve my CPU load average as high?
Hi, currently i am working on a load balancing concept for my servers, there i need to test high performance for my servers, so is it possible to produce fake CPU load average on linux server, is there any extra package or tools need to be installed?