[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Field size in ps



Raul Miller writes:
> Only works if you're guaranteed that there's only one running instance
> of the daemon.

I wrote:
> ???
> 
> hasler/~ pidof xterm
> 30423 30422 30421 30420 30419
> hasler/~

Raul Miller writes:
> xterm is not a daemon

What's that got to do with it?

hasler/~ pidof nfsiod
7 6 5 4

I just suggested pidof as a superior alternative to the ps|grep|cut kludge
(which I have used).
-- 
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI


Reply to: