Difference between revisions of "Linux ps"
Line 5: | Line 5: | ||
-c Print information in a format that reflects scheduler properties as described in priocntl. | -c Print information in a format that reflects scheduler properties as described in priocntl. | ||
The -c option affects the output of the -f and -l options, as described below. | The -c option affects the output of the -f and -l options, as described below. | ||
+ | |||
-d List information about all processes except session leaders. | -d List information about all processes except session leaders. | ||
+ | |||
-e List information about every process now running. | -e List information about every process now running. | ||
+ | |||
-f Generate a full listing. | -f Generate a full listing. | ||
+ | |||
-j Print session ID and process group ID. | -j Print session ID and process group ID. | ||
+ | |||
-l Generate a long listing. | -l Generate a long listing. | ||
+ | |||
-L Print information about each light weight process (lwp) in each selected process. | -L Print information about each light weight process (lwp) in each selected process. | ||
+ | |||
-P Print the number of the processor to which the process or lwp is bound, if any, under an additional column header, PSR. | -P Print the number of the processor to which the process or lwp is bound, if any, under an additional column header, PSR. | ||
+ | |||
-y Under a long listing (-l), omit the obsolete F and ADDR columns and include an RSS column to report the resident set size of the process. Under the -y option, both RSS and SZ will be reported in units of kilobytes instead of pages. | -y Under a long listing (-l), omit the obsolete F and ADDR columns and include an RSS column to report the resident set size of the process. Under the -y option, both RSS and SZ will be reported in units of kilobytes instead of pages. |
Revision as of 13:29, 24 September 2012
-a List information about all processes most frequently requested: all those except process group leaders and processes not associated with a terminal.
-A List information for all processes. Identical to -e, below.
-c Print information in a format that reflects scheduler properties as described in priocntl. The -c option affects the output of the -f and -l options, as described below.
-d List information about all processes except session leaders.
-e List information about every process now running.
-f Generate a full listing.
-j Print session ID and process group ID.
-l Generate a long listing.
-L Print information about each light weight process (lwp) in each selected process.
-P Print the number of the processor to which the process or lwp is bound, if any, under an additional column header, PSR.
-y Under a long listing (-l), omit the obsolete F and ADDR columns and include an RSS column to report the resident set size of the process. Under the -y option, both RSS and SZ will be reported in units of kilobytes instead of pages.