According to Karl F. Larsen: While burning my CPU.
>
> On Wed, 9 Dec 1998, Jim Nessen, KD6HWC wrote:
>
> > or try:
> >
> > ps -ef | grep -i pine
> ^^^^^^^^^^^^^^^^^^^^^^
>
> That I fogot. In Red Hat root doesn't even get a full listing with
> ps for some reason.
Thats not Redhat spesific, using 'ps' without arguments will show just a
snapshot of running processes.
The above example is the same as plain 'ps' only -ef shows the paths and
enviroment.
I use a one line script called psv and is used as.
'psv pine' (in this case)
the script looks like;
#!/bin/sh
ps ax | grep -v grep | grep -v ps | grep $1
and is located in the $PATH.
If pine was running then the return would look like.
1636 3 S 0:00 pine
The output is the same as the grep example given at the start of this
message.
Saves having to type | grep bla everytime.
>
> Best wishes
>
> - Karl F. Larsen, 3310 East Street, Las Cruces,NM (505) 524-3303 -
>
--
Regards Richard.
[EMAIL PROTECTED]
Merry Xmas to all, and may all your troubles be small (ones).