Date: Tue, 27 Aug 2002 15:03:49 -0700 From: fred@timogen.com To: "Fuzzy" <fuzzy@pooh.ASARian.org> Cc: "OrgFreebsd-Questions@Freebsd." <freebsd-questions@freebsd.org> Subject: Re: pidof command in freebsd Message-ID: <00b501c24e15$a6beb130$8d05a8c0@fred> References: <Pine.BSF.4.44.0208270052300.17504-100000@pooh.ASARian.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Thanks very much! I had install it. But there is a new problem, when the command # /usr/local/bin/pidof named there are some outputs: /proc is empty (not mounted ?) I notice that the *.pid files are in /var/run/ Are there any ways to find the pid by pidof? Regards, Fred Zhang ----- Original Message ----- From: "Fuzzy" <fuzzy@pooh.ASARian.org> To: "Giorgos Keramidas" <keramida@ceid.upatras.gr> Cc: <fred@timogen.com>; <freebsd-questions@FreeBSD.ORG> Sent: Monday, August 26, 2002 9:58 PM Subject: Re: pidof command in freebsd > > On Tue, 27 Aug 2002, Giorgos Keramidas wrote: > > > On 2002-08-27 11:53 +0000, fred@timogen.com wrote: > > > There is a command pidof in linux, which can get the pid of a program. > > > Does there are some commands in freebsd which have the same functions? > > > > Yes, ps(1). > > > > > pidof -V > pidof from psmisc version 17 > > Port: psmisc-17 > Path: /usr/ports/sysutils/psmisc > Info: A port of the Linux pstree, killall and pidof commands > Maint: rantapaa@uswest.net > Index: sysutils > B-deps: > R-deps: > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b501c24e15$a6beb130$8d05a8c0>