Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 1997 20:59:22 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        ache@nagual.pp.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc rc
Message-ID:  <199706022059.UAA10554@veda.is>
In-Reply-To: <Pine.BSF.3.96.970602235935.24236A-100000@lsd.relcom.eu.net> from "[______ ______]" at "Jun 3, 97 00:01:42 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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/
> 

Compliant programs, and those that use the library version of setproctitle
all retain the program name within parentheses at the end of the line.

IMHO, if the program wipes its name out altogether it deserves whatever crap
it gets.

--
Adam David <adam@veda.is>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706022059.UAA10554>