Date: Tue, 3 Jun 1997 00:01:42 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru> To: Adam David <adam@veda.is> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc Message-ID: <Pine.BSF.3.96.970602235935.24236A-100000@lsd.relcom.eu.net> In-Reply-To: <199706022020.UAA10482@veda.is>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Jun 1997, Adam David wrote: > Do you mean that processes don't die and leave pidfiles behind, or that > it is impossible to check whether there is a program running with the same > name and PID as the pidfile claims? > I am witness to the former, and have used the latter with success in the > case of individual programs. It might not be possible to automatically > double-check in a generic context because there is no guaranteed naming > convention. However, given the name of the program and its pidfile, it > is a simple matter to check first, because two different programs cannot > have the same PID at the same time. Extracting program name from 'ps'-like info isn't always possible, it is small probability that garbadge will be returned, another name, or program just wipe their own name with something else. -- Andrey A. Chernov <ache@null.net> http://www.nagual.pp.ru/~ache/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970602235935.24236A-100000>