Source-Changes archive

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

Re: CVS commit: src/usr.sbin/rtsold



On Saturday 03 January 2004 20:23, Jun-ichiro itojun Hagino wrote:
>
>       there's other reasons i dislike pidfiles.  they are not properly
>       locked on creation, /var/run needs to be writable, no consideration
>       to multiple daemons, no consistency guarantee between actual process
>       table, and more.

Agreed.

>       if anything, a script that searches and kills
>       "rtsold" would be much better.  or, we could extend kill(1) to take
>       string as an argument and kill process under given name.

pkill(1) ?

     The pkill command searches the process table on the running system and
     signals all processes that match the criteria given on the command line.

-- 
Julio M. Merino Vidal <jmmv%menta.net@localhost>
The NetBSD Project - http://www.NetBSD.org/




Home | Main Index | Thread Index | Old Index