In a terminal window, enter the following: sudo apt-get install sysstat Most RHEL-based distributions include this software package.įor Debian and Ubuntu systems, you’ll need to install the sysstat package. Mpstat is part of a software bundle called sysstat. This will display the manual page for the top command. To get assistance with top, you can press the letter h while it’s running. Or, you can enter the following at a command line: man top 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 Note: Use one of 5 available commands in Linux to check memory usage.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |