How To Print the Sizes of Kernel Caches from kstats

(Doc ID 1421229.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 8.0 and later
Information in this document applies to any platform.


To print out the sizes of kernel caches from the kernel statistics (kstats). Similar to the output from the ::kmastat dcmd in mdb but quicker, without requiring root access and in a format easier to sort. Useful for investigating why the kernel is using a large amount of memory or identifying potential kernel memory leaks.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms