in reply to Searching strings within an array for a particular word.
$ ps -C httpd,named PID TTY TIME CMD 367 ? 00:00:08 httpd 2134 ? 00:00:00 named 2136 ? 00:00:01 named 2137 ? 00:18:02 named 2138 ? 00:00:02 named 2139 ? 00:02:07 named 9767 ? 00:00:00 httpd 9768 ? 00:00:00 httpd 9769 ? 00:00:00 httpd 9770 ? 00:00:00 httpd 9771 ? 00:00:00 httpd 9772 ? 00:00:00 httpd 9773 ? 00:00:00 httpd 9774 ? 00:00:00 httpd 9775 ? 00:00:00 httpd 9776 ? 00:00:00 httpd $
There are also ps switches to select output fields and not print a heading.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Searching strings within an array for a particular word.
by IlyaM (Parson) on Mar 06, 2002 at 02:46 UTC |