![]() ![]() Privileged access to your Linux system as root or via the sudo command. Requirements, Conventions or Software Version Used By default, the display output is unsorted, but can be sorted using –sort options in recursive manner.How to Check and Monitor CPU utilization on Linux Software Requirements and Conventions Used Software Requirements and Linux Command Line Conventions Category ps command displays the process ID (pid=PID), the terminal associated with the process (tname=TTY), the cumulated CPU time in hh:mm:ss format (time=TIME), and the executable name (ucmd=CMD). Ps axo ruser,%mem,comm,pid,euser | sort -nr | head -n 10īy default, ps selects all processes with the same effective user ID (euid=EUID) as the current user and associated with the same terminal as the invoker. Run the following command to list top 10 CPU and Memory consuming processes: List Top 10 CPU & Memory Consuming Processes Similarly you can also print the top 10 CPU consuming processes. %mem Ratio of the process’s resident set size to the physical memory on the machine, expressed as a percentage.Currently, it is the CPU time used divided by the time the process has been running (cputime/realtime ratio), expressed as a percentage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |