

Some other useful commands while top is running include: To quit the top function, press the letter q on your keyboard. This hides all the idle processes, making it easier to sort through the list. One helpful switch is to launch top with the –i switch: top –i

This list can frequently change, as background tasks start and complete. It will also give a readout of users, tasks, CPU load, and memory usage. The system should respond by displaying a list of all the processes that are currently running. Open a terminal window and enter the following: top How To Check CPU Usage from Linux Command Line top Command to View Linux CPU Load In that case, the load behavior is implementation dependent (each thread might be reported as 100% busy or not).Note: Use one of 5 available commands in Linux to check memory usage. Trap 'for p in $pids do kill $p done' 0įor ((i=0 i
