Ps: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:


Hierarchical display of the process tree.
Hierarchical display of the process tree.
==--no-headers==
Skips the display  of the header line. Useful when counting lines in the ps output with <tt>wc -l</tt>.


=Columns=
=Columns=

Revision as of 14:48, 9 May 2017

Internal

Overview

Options

-A, -e

Select all processes. -A and -e are identical.

-f

Full-format listing.

-L

Show threads.

The thread ID is listed under the "LWP" column.

--forest

Hierarchical display of the process tree.

--no-headers

Skips the display of the header line. Useful when counting lines in the ps output with wc -l.

Columns

PID

LWP

The thread ID.

NLWP

The number of threads for the process.