[ale] ps without threads

Barry Hawkins barry at alltc.com
Thu Nov 4 13:07:49 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Corbin wrote:
| I know that ps can show each thread as a process, or not, but I cannot
find
| the switch that controls this.   Specifically, my ps shows all
threads, and
| that's not what I want.

~From 'man ps':
[...]
SYNOPSIS
ps [options]
[...]
THREAD DISPLAY
H               Show threads as if they were processes

- -L              Show threads, possibly with LWP and NLWP columns

- -T              Show threads, possibly with SPID column

m               Show threads after processes

- -m              Show threads after processes

HTH,
- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBim+37bZ6kUftWZwRAvvVAKCnmiPeKwQydtTeX4PrRYIozH65MACfdl0x
tGL+8d31uyVF5espLlvsrMg=
=rm3f
-----END PGP SIGNATURE-----



More information about the Ale mailing list