From owner-freebsd-current Mon Jan 15 11:41:29 2001 Delivered-To: freebsd-current@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id 6026237B400 for ; Mon, 15 Jan 2001 11:41:11 -0800 (PST) Received: from localhost (IDENT:17g2ZlG0gb4jprEU9fpecawe8gpq1jl1JwPeh8r5FhLDagYJ4vbaBzhhc09o/zIC@localhost [::1]) (authenticated) by peace.mahoroba.org (8.11.2/8.11.2/peace) with ESMTP/inet6 id f0FJcTw02339; Tue, 16 Jan 2001 04:38:30 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Tue, 16 Jan 2001 04:38:28 +0900 (JST) Message-Id: <20010116.043828.97301753.ume@FreeBSD.org> To: pherman@frenchfries.net Cc: bright@wintelcom.net, current@FreeBSD.ORG Subject: Re: number of processes forked since boot From: Hajimu UMEMOTO In-Reply-To: References: <20010116.033215.41625863.ume@FreeBSD.org> X-Mailer: xcite1.38> Mew version 1.95b97 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Mon, 15 Jan 2001 19:46:32 +0100 (CET) >>>>> Paul Herman said: pherman> On Tue, 16 Jan 2001, Hajimu UMEMOTO wrote: > bright> * Hajimu UMEMOTO [010115 10:00] wrote: > > > I wish to obtain number of processes forked since boot from userland. > > So, I made a patch to intend to commit. > > Any comment? pherman> I like the idea, but this belongs in vmeter with context switches, pherman> page faults, etc, doesn't it? This is how OpenBSD does it, anyway. I see. You mean accessing uvmexp.forks via sysctl. Does it solved by just moving nforks into vm_meter.c? -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message