Type top in your terminal and you'll get a result like the one you see in the screenshot below: You can type q to exit the session.Īn alternative to top is htop which provides an interactive system-monitor to view and manage processes. You can also use the top task manager command in Linux to see a real-time sorted list of top processes that use the most memory or CPU. How to List Running Processes in Linux using the top and htop Commands CMD returns the command that launched the process.STAT returns the symbolic process state.%MEM returns the percentage memory usage.%CPU returns the percentage of CPU usage.USER returns the username of the user running the process.This will display the process for the current shell with eleven columns: x: includes processes that do not have a controlling terminal.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |