LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2020, 07:58 PM   #1
L1P0
LQ Newbie
 
Registered: Dec 2019
Posts: 4

Rep: Reputation: Disabled
Question 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"

%CPU PID USER COMMAND
0.2 23898 root /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth vt7

Last edited by L1P0; 01-14-2020 at 08:04 PM. Reason: provide example
 
Old 01-14-2020, 08:39 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 3,896

Rep: Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093
This stackexchange reply documents the calculation: https://unix.stackexchange.com/quest...ame-cpu-result.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error:: "wrong # args: should be "set varName ?newValue?" " while running TCL script rc49 Linux - Newbie 2 09-15-2016 01:01 AM
Upgrading a system from two pCPU to four pCPU, need RHEL reinstall? azzo1 Red Hat 2 05-16-2014 05:04 AM
set x args... && shift vs set -- args... leniviy Linux - Software 1 11-13-2012 05:17 AM
the exact meaning of pcpu eidbadrlt Linux - Newbie 1 01-28-2012 02:56 AM
'ps' command - true meaning of 'pcpu' & 'time' values in a multi-CPU environment MarkTurbo Linux - Newbie 5 02-02-2008 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration