Jonathan Adams,??? To troubleshooting system hang.
# echo "map kernelmap" | crash This command shows how many segments of kernel memory exist and how large each segment is. ======= 2006-03-25 01:38:52 ????????======= > >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 > = = = = = = = = = = = = = = = = = = = = Cheers, ????????zheh ????????zheh at 163.com ??????????2006-03-25