From owner-freebsd-questions Tue Aug 27 9:15:24 2002 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 B482B37B400 for ; Tue, 27 Aug 2002 09:15:19 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-84.dsl.lsan03.pacbell.net [64.165.226.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3ABD43E42 for ; Tue, 27 Aug 2002 09:15:18 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2FD3B66D83; Tue, 27 Aug 2002 09:15:18 -0700 (PDT) Date: Tue, 27 Aug 2002 09:15:17 -0700 From: Kris Kennaway To: fred@timogen.com Cc: Fuzzy , "OrgFreebsd-Questions@Freebsd." Subject: Re: pidof command in freebsd Message-ID: <20020827161517.GC78790@xor.obsecurity.org> References: <00b501c24e15$a6beb130$8d05a8c0@fred> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O3RTKUHj+75w1tg5" Content-Disposition: inline In-Reply-To: <00b501c24e15$a6beb130$8d05a8c0@fred> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --O3RTKUHj+75w1tg5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 27, 2002 at 03:03:49PM -0700, fred@timogen.com wrote: > Hi, >=20 > Thanks very much! > I had install it. > But there is a new problem, when the command >=20 > # /usr/local/bin/pidof named >=20 > there are some outputs: > /proc is empty (not mounted ?) mount_procfs(8) > I notice that the *.pid files are in >=20 > /var/run/ That's only used by some system daemons that need to keep track of their pid. pidof will obviously have problems finding a unique pid if you have more than one instance of the program running. Kris --O3RTKUHj+75w1tg5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9a6WVWry0BWjoQKURAk+SAJ9WfsL1nBmOBAiia40y3TZaJOfErQCfXFp3 wyH/G39fwo2jRmeVwmUouGc= =rnAX -----END PGP SIGNATURE----- --O3RTKUHj+75w1tg5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message