Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFCA237B401 for ; Fri, 13 Jun 2003 11:35:14 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8DAE43FA3 for ; Fri, 13 Jun 2003 11:35:13 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h5DIZ8ZY037709; Fri, 13 Jun 2003 13:35:09 -0500 (CDT) (envelope-from kirk@strauser.com) To: Jerry McAllister References: <200306131759.h5DHxqNK027196@clunix.cl.msu.edu> From: Kirk Strauser Date: Fri, 13 Jun 2003 13:35:05 -0500 In-Reply-To: <200306131759.h5DHxqNK027196@clunix.cl.msu.edu> (Jerry McAllister's message of "Fri, 13 Jun 2003 13:59:52 -0400 (EDT)") Message-ID: <871xxxkequ.fsf@pooh.honeypot.net> Lines: 17 X-Mailer: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" cc: freebsd-questions@freebsd.org Subject: Re: Assigning a PID to a given program? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 18:35:15 -0000 At 2003-06-13T17:59:52Z, Jerry McAllister writes: >> Regreatably it was long enough back that I can't remember which ones it >> was. One I think might have been in question was when I was rebuilding >> my sendmail configs. When the script tried to bounce sendmail it tried >> to do it by PID. > It does this and several other utilities do this. But, the way they do it > is to write their pid in to a file when they start up and then if the > script needs to HUP or kill them, it gets the PID out of the file. So can we safely say that the original request was not quite exactly accurate? -- Kirk Strauser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA+6hlc5sRg+Y0CpvERAihGAJ0W4KKFrp48zJ6r6fZa1O0UaG0NWgCfaeEi bNFru59pTOXafcemDhnJkco= =oB7M -----END PGP SIGNATURE-----