linux, how to show column headers in the ps command

Posted on 2011-09-27
Last Modified: 2016-02-10
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.
Question by:rgbcof
LVL 16

Accepted Solution

santoshmotwani earned 200 total points
ID: 36713836
root      10 100.0  0.0     0     8  ??  RL   14Aug11 64164:29.79 [idle: cpu1]

hope this helps :

Assisted Solution

YellowShoe earned 150 total points
ID: 36713856
Here is info from FreeBSD site

-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.
LVL 68

Expert Comment

ID: 36715756
ps auxwww | more
LVL 38

Assisted Solution

wesly_chen earned 150 total points
ID: 36720710
The headers are on the first row.

ps auxwww | head -1

Author Closing Comment

ID: 36813217
Great help.  Thanks.

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now