> 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!
You're looking for 'ps ax':
a show processes of other users too
x show processes without controlling terminal
Granted, it depends on your psutils, but i've never seen a BSD ps that
didn't have 'x'. But then, maybe I'm too young -- i have yet to see a BSD4.x
machine :) This isnt a kernel issue though, strictly userspace. I think you
could port SysV ps if you wanted (minus a few features, --possibly.)
Regards,
Thomas.
-
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/