-   Linux - Newbie (
-   -   Explanation of "ps -eo pcpu,pid,user,args" (

L1P0 01-14-2020 07:58 PM

Explanation of "ps -eo pcpu,pid,user,args"
Hey guys. I want to know a detailed explanation for the output display of "ps -eo pcpu,pid,user,args". Is the %CPU being displayed considered the average CPU? How does this %CPU calculated?

sample output of "ps -eo pcpu,pid,user,args"

0.2 23898 root /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth vt7

berndbausch 01-14-2020 08:39 PM

This stackexchange reply documents the calculation:

All times are GMT -5. The time now is 07:07 PM.