Article 4XXPW Explanation of "ps -eo pcpu,pid,user,args"

Explanation of "ps -eo pcpu,pid,user,args"

by
L1P0
from LinuxQuestions.org on (#4XXPW)
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"

%CPU PID USER COMMAND
0.2 23898 root /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth vt7latest?d=yIl2AUoC8zA latest?i=d5xK69_qgL0:mqFEy03pbwg:F7zBnMy latest?i=d5xK69_qgL0:mqFEy03pbwg:V_sGLiP latest?d=qj6IDK7rITs latest?i=d5xK69_qgL0:mqFEy03pbwg:gIN9vFwd5xK69_qgL0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments