Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4392
  • Last Modified:

linux, how to show column headers in the ps command

I am in FreeBSD, i did a "ps auxwww", but I don't know what each column means.  How do I find out the column names.
0
rgbcof
Asked:
rgbcof
3 Solutions
 
santoshmotwaniCommented:
USER     PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
root      10 100.0  0.0     0     8  ??  RL   14Aug11 64164:29.79 [idle: cpu1]


hope this helps :

http://wiki.vpslink.com/Linux_Command_Reference:_ps
0
 
YellowShoeCommented:
Here is info from FreeBSD site
http://www.freebsd.org/cgi/man.cgi?query=ps&apropos=0&sektion=0&manpath=FreeBSD+8.2-RELEASE&arch=default&format=html

-w      Use 132 columns to display information, instead of the default which is your window size.  If the -w option is specified more than once, ps will use as many columns as necessary without regard for your window size.

-x      When displaying processes matched by other options, include processes which do not have a controlling terminal.

-u      Display information associated with the following keywords: user, pid, %cpu, %mem, vsz, rss, tt, state, start, time, and command. The -u option implies the -r option.

-r      Sort by current CPU usage, instead of the combination of controlling terminal and process ID.

-a      Display information about other users' processes as well as your own.  This will skip any processes which do not have a controlling terminal, unless the -x option is also specified.
0
 
woolmilkporcCommented:
ps auxwww | more
0
 
wesly_chenCommented:
The headers are on the first row.

ps auxwww | head -1
0
 
rgbcofAuthor Commented:
Great help.  Thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now