Re: Field size in ps
Bob Hilliard writes:
> I am working on improving the startup file for a daemon that doesn't
> handle its pid file properly and consistently. I am getting the pid by
> piping the output of ps ax through grep and cut.
Why not use pidof ?
> I am thinking of the case of machines that are up for long periods of
> time, with many users. Are pids of processes that are nolonger running
> eventually recycled?
Yes.
--
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI
Reply to: