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

christophe.leroy5@capway.com
Tue, 29 Dec 1998 14:04:38 +0100


Date sent: Tue, 29 Dec 1998 18:04:37 -0500 (GMT)
From: Prasun Kapoor <prasun@wipinfo.soft.net>
To: linux-kernel@vger.rutgers.edu
Subject: "ps" has no option for displaying all processes on the system

> hi,
>
> 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.
>
> "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!
>

solaris ps is SVR4 ps
Linux uses BSD ps

"ps ax" is what you want

christophe

-
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/