[ILUG] Getting the pid of a process
Tiarnan O Corrain
tiarnan.o'corrain at cmg.com
Thu Jul 25 14:32:00 IST 2002
Hi all,
is there any sure-fire (and easy) way of getting the pid of a process
that's just been kicked off.
I want to start a daemon and write its pid to a file in /var/run (or
somewhere similar). Can I avoid grepping through the process table to
get this?
--
Tiarnan O Corrain
Consultant / System Administrator
CMG Wireless Data Solutions Ltd.
Tel.: +353 21 4933200
Fax: +353 21 4933201
More information about the ILUG
mailing list