Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2000 14:58:04 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Alex Zepeda <jazepeda@pacbell.net>
Cc:        Will Andrews <andrews@technologist.com>, The Hermit Hacker <scrappy@hub.org>, Will Andrews <will@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/x11/kde2 Makefile
Message-ID:  <20000729145804.A6240@panzer.kdm.org>
In-Reply-To: <Pine.BSF.4.21.0007290423410.277-100000@zippy.pacbell.net>; from jazepeda@pacbell.net on Sat, Jul 29, 2000 at 04:25:28AM -0700
References:  <20000729004742.E11880@argon.gryphonsoft.com> <Pine.BSF.4.21.0007290423410.277-100000@zippy.pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 29, 2000 at 04:25:28 -0700, Alex Zepeda wrote:
> On Sat, 29 Jul 2000, Will Andrews wrote:
> 
> > On Sat, Jul 29, 2000 at 01:26:03AM -0300, The Hermit Hacker wrote:
> > > any way of putting in a check for XFree86 version? :)  If 4.0 mark as
> > > BROKEN and save other ppl the headaches ... ? 
> > 
> > Find one (i.e. a file in 4.0 not in 4.0.1) and tell me.  :-)
> 
> Or a header, and I can put the check into the autoconf stuff.
> 
> Anyways, why wasn't kdeutils included?  It seems to compile fine
> here.  I'll test it tomorrow of course to see if it actually works....
> 
> Anyone seen a tutorial or something for the devstat code?  Measuring cpu
> load is fun fun fun when it's separated by type (idle, interrupt, user,
> whee).  Gotta love the example leeenux code.

There are man pages (devstat(3), devstat(9)) and sample code (iostat(8),
systat(1), vmstat(8), rpc.rstatd(8)), but no tutorials.

If all you're after is CPU time, though, you really don't need to use
devstat(3), since it's primarily aimed at disk-type statistics.  The tools
that use devstat fetch the CPU stats themselves.

top(1) also fetches the CPU time statistics.

Anyway, if you need help writing devstat-related code, just let me know.

Ken
-- 
Kenneth Merry
ken@kdm.org


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000729145804.A6240>