Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 21:07:08 +0100 (CET)
From:      Paul Herman <pherman@frenchfries.net>
To:        Hajimu UMEMOTO <ume@FreeBSD.ORG>
Cc:        <current@FreeBSD.ORG>
Subject:   Re: number of processes forked since boot
Message-ID:  <Pine.BSF.4.31.0101152058170.11142-100000@husten.security.at12.de>
In-Reply-To: <20010116.043828.97301753.ume@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jan 2001, Hajimu UMEMOTO wrote:

> >>>>> On Mon, 15 Jan 2001 19:46:32 +0100 (CET)
> >>>>> Paul Herman <pherman@frenchfries.net> said:
>
> 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?

Yes, that's my read from the source.  What I also like about it is
that it counts [vr]forks to boot, plus vmpages affected by the fork.

After I first saw this in OBSD I was really motivated to do just what
you've done for FreeBSD, but never got around to it.  If you like,
I'll see if I can't come up with something similar.  Shouldn't be too
hard.  I'll try that tonight.

The hardest part would be finding a spot on the systat(1) display to
put it. :-)

-Paul.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0101152058170.11142-100000>