How to create 100% CPU load in Linux

A simple article on how to load 100% CPU load in Linux.

First step is to identify the number of cores.

Run the command “yes > /dev/null &” for N times. N denotes the number of processors identified via “cat /proc/cpuinfo” command. 2N is one better number.

Source: How to create 100% CPU load in Linux

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.