LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ps -o "standard format specifiers" meaning (https://www.linuxquestions.org/questions/linux-general-1/ps-o-standard-format-specifiers-meaning-313122/)

txino 04-14-2005 05:49 AM

ps -o "standard format specifiers" meaning
 
Hello everybody!
I'm new here. I don't use forums very often, but this time I think that I need some external help.

today I needed some extra functionalities from the command "ps", I knew that I can personalize the output with the "-o" option and when I went to the man page I fond that there you can find all options available, but I couldn't find any information about what they means.

OK it 's easy to understand what is cputime or %CPU, but, what is "c," what is the difference between egid and fgid and lots of others options.

Anybody knows were to find a list of all these options with a little explanation about each one?

I fond that but it is not complete:
btrcx1.cip.uni-bayreuth.de/cgi-bin/manpages/ps/1

noone has ever made the same question to herself?

thank you to everybody!

foo_bar_foo 04-14-2005 02:48 PM

don't know a place that explains it but i can talk a little about it
first i agree it's confusing and not well documented

it's just getting stat junk so it's all related to internal unix way of jobcontrol

c is the actual name of the executable file -- otherwise you get what the program sees as argv[0]
(first parameter passed as in the name of the file ) but the program can manipulate argv[0] so it might be different but hardly ever is.

the other two egid and euid is effective uid as opposed to ruid "real" uid -- the effective ones have to do with ids specified by the setuid bit as in (chmod u+s) this also might be different but hardly ever is.

just ask about others you can't figure out


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