Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 23:02:55 -0700 (PDT)
From:      Gersh <gersh@sonn.com>
To:        Tabor Kelly <pdxmax@dsl-only.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Collecting System Statistics Programatically
Message-ID:  <Pine.BSF.4.21.0107272301530.37683-100000@tabby.sonn.com>
In-Reply-To: <1801448262.20010727135401@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As for memory look at the output of a vmstat -m.  That will show you your
kernel memory useage.  For processor cycles build a profiling kernel
(config -p).  Look at the man pages for kgmon and gprof to see how to use
the profiler.

On Fri, 27 Jul 2001, Tabor Kelly wrote:

> I have found how to collect limited system statistics with
> sysctlbyname(), but I need to know how to do more. In specific I need
> to know how much memory is being used, and what percentage of
> processor cycles are being used.
> 
> Any help is greatly appreciated, Thank You.
> 
> Tabor Kelly
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" 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.21.0107272301530.37683-100000>