On Fri, Mar 24, 2006 at 06:30:34PM +0800, zheh wrote:
> mdb-discuss at opensolaris.org????????
> 
>       which dcmds in mdb has same result with "map kernelmap" in crash , like
> 
> # echo "map kernelmap" | crash

It's not clear;  what kind of information are you expecting "map kernelmap"
to give you?

echo ::memstat | mdb -k

will tell you how pages are allocated and used in the kernel.  If you want
to know the amount of free Kernel Virtual Address space there is, you
can do:

echo ::vmem | mdb -k

the "heap" line is the one of most interest.  Subtract INUSE from TOTAL for
the amount of free VA.

Cheers,
- jonathan

-- 
Jonathan Adams, Solaris Kernel Development

Reply via email to