Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 08:47:19 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Jeff Rhyason <jeff@rhyason.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Collecting waiting statistics (simulation question)
Message-ID:  <20000829084719.V18862@fw.wintelcom.net>
In-Reply-To: <20191127095516.A42415@rhyason.com>; from jeff@rhyason.com on Wed, Nov 27, 2019 at 09:55:16AM -0700
References:  <20191127095516.A42415@rhyason.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jeff Rhyason <jeff@rhyason.com> [000829 07:44] wrote:
> Can anybody help me with a project I am working on?  I am trying
> to simulate different memory allocation policies for a discrete
> event simulation course.  Being the guy I am, I decided to 
> collect some real statistics from a real system.  The difficulty
> I've encountered is that I can't find how to make them accessible!
> 
> Is there a way that I can log a large amount of statistics 
> regarding kernel memory allocator activity and make that 
> accessible to a user process?  (Something like Solaris' 
> crash(1m) and kmalog)  
> 
> Thanks in advance for any comments!

Using a slew of sysctls would make it trivial, have a look at how
sysctls are decared.  You can then have a process that samples the
sysctls from userland.

-Alfred


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?20000829084719.V18862>