Re: "ps" has no option for displaying all processes on the system

Albert D. Cahalan (acahalan@cs.uml.edu)
Tue, 29 Dec 1998 16:20:38 -0500 (EST)


Prasun Kapoor writes:

> Going through the man page for "ps" on a red hat release 2.0.32, it doesnt
> seem to have an option for printing all the processes on the system.

It does actually, but never mind...

> "ps a " gives only processes that have an associated tty. So I cannot do
> something like "ps -ef | grep inet" (in solaris) to find out if the inet
> daemon is running or not!

Seeing you use "ps -ef" means you will clearly like this ps better:
http://www.cs.uml.edu/~acahalan/linux/procps-981104.tar.gz

The normal ps is more like /usr/ucb/ps on Solaris.
Get the new ps and be happy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/