libmemstat(3) - Library for monitoring kernel memory use

Robert Watson rwatson at FreeBSD.org
Fri Jun 9 10:32:41 UTC 2006


On Fri, 9 Jun 2006, Wilkinson, Alex wrote:

>    >>Erm, Robert, where does memtop live ? I can find it in ports nor base
>    >>system.
>    >
>    >memtop is an experimental monitoring tool based on libmemstat, you can 
> find
>    >the source here:
>    >
>    > http://www.watson.org/~robert/freebsd/libmemstat/
>    >
>    >Possibly something like this could be integrated into systat, but my
>    >ncurses knowledge is a bit weak, and I've not had a chance to 
> investigate
>    >further. As with vmstat, the interpretation of the output requires a
>    >moderate amount of insight into how the kernel works, so I've been a bit
>    >reluctant to push it as a debugging tool without some more refinement. 
> I
>    >think it would be neat if someone picked it up and did something useful
>    >with it, though :-).
>
> I assume this only works with -CURRENT ?

It should build and run on 6.1 forwards also, as libmemstat was MFC'd in as 
part of fixing mbuf allocator statistics on SMP.  I'm able to build and run 
memtop on 6-STABLE dated March 12.

Robert N M Watson


More information about the freebsd-current mailing list