Solved

linux, how to show column headers in the ps command

Posted on 2011-09-27
5
2,611 Views
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.
0
Comment
Question by:rgbcof
5 Comments
 
LVL 16

Accepted Solution

by:
santoshmotwani earned 200 total points
ID: 36713836
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
 
LVL 3

Assisted Solution

by:YellowShoe
YellowShoe earned 150 total points
ID: 36713856
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
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36715756
ps auxwww | more
0
 
LVL 38

Assisted Solution

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

ps auxwww | head -1
0
 

Author Closing Comment

by:rgbcof
ID: 36813217
Great help.  Thanks.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centos 7 User to Start Apache, MariaDB, LDAP 5 41
Linux VM 6 92
Run DOS2UNIX and then execute the command 21 72
linux 13 55
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

825 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