slabtop - display kernel slab cache information in real time


   slabtop [options]


   slabtop  displays  detailed kernel slab cache information in real time.
   It displays a listing of the top caches sorted by  one  of  the  listed
   sort  criteria.   It also displays a statistics header filled with slab
   layer information.


   Normal invocation  of  slabtop  does  not  require  any  options.   The
   behavior,  however,  can be fine-tuned by specifying one or more of the
   following flags:

   -d, --delay=N
          Refresh the display every n in  seconds.   By  default,  slabtop
          refreshes the display every three seconds.  To exit the program,
          hit q.

   -s, --sort=S
          Sort by S, where S is one of the sort criteria.

   -o, --once
          Display the output once and then exit.

   -V, --version
          Display version information and exit.

   -h, --help
          Display usage information and exit.


   The following are valid sort criteria used to sort the individual  slab
   caches and thereby determine what are the "top" slab caches to display.
   The default sort criteria is to sort by the number of objects ("o").

   The sort criteria can also be  changed  while  slabtop  is  running  by
   pressing the associated character.

   character   description                header
   a           number of active objects   ACTIVE
   b           objects per slab           OBJ/SLAB
   c           cache size                 CACHE SIZE
   l           number of slabs            SLABS
   v           number of active slabs     N/A
   n           name                       NAME
   o           number of objects          OBJS
   p           pages per slab             N/A
   s           object size                OBJ SIZE
   u           cache utilization          USE


   slabtop  accepts  keyboard  commands  from  the  user  during use.  The
   following are supported.  In  the  case  of  letters,  both  cases  are

   Each of the valid sort characters are also accepted, to change the sort
   routine. See the section SORT CRITERIA.

          Refresh the screen.

   Q      Quit the program.


          slab information


   free(1), ps(1), top(1), vmstat(8)


   Currently, slabtop requires a 2.4  or  later  kernel  (specifically,  a
   version  1.1  or later /proc/slabinfo).  Kernel 2.2 should be supported
   in the future.

   The slabtop statistic header is tracking how many bytes  of  slabs  are
   being  used  and is not a measure of physical memory.  The 'Slab' field
   in the /proc/meminfo file  is  tracking  information  about  used  slab
   physical memory.


   Written by Chris Rivera and Robert Love.

   slabtop was inspired by Martin Bligh's perl script, vmtop.


   Please send bug reports to

More Linux Commands

fprint_description(3) - netsnmp_mib_api functions (ManPage)
The functions dealing with MIB modules fall into four groups - those dealing with initialisation and shutdown, with reading in and parsing MIB files, with searc

Tcl_UnlinkVar(3) - link Tcl variable to C variable (ManPage)
Tcl_LinkVar uses variable traces to keep the Tcl variable named by varName in sync with the C variable at the address given by addr. Whenever the Tcl variable i

Tcl_CreateSlave(3) - manage multiple Tcl interpreters, alias
These procedures are intended for access to the multiple interpreter facility from inside C programs. They enable managing multiple interpreters in a hierarchic

XF86MiscSetSaver(3) - Extension library for the XFree86-Misc
These functions provide an interface to the XFree86-Misc extension which allows various server settings to be queried and changed dynamically. Applications that

Time::gmtime(3pm) - by-name interface to Perl's built-in gmt
This modules default exports override the core gmtime() function, replacing it with a version that returns Time::tm objects. This object has methods that return

__memalign_hook(3) malloc debugging variables (Man Page)....
The GNU C library lets you modify the behavior of malloc(3), realloc(3), and free(3) by specifying appropriate hook functions. You can use these hooks to help y

menu_init(3menu) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by menu_driver. The funct

drpmsync(8) - sync a file tree with deltarpms (Man Page)....
Drpmsync keeps a local file system tree in sync with a remote one. Its intended use is to work with rpm trees; the deltarpm technology can only save bandwidth i

gluNewQuadric(3gl) - create a quadrics object (Man Page)....
gluNewQuadric creates and returns a pointer to a new quadrics object. This object must be referred to when calling quadrics rendering and control functions. A r

ldap_msgtype(3) - Wait for the result of an LDAP operation
The ldap_result() routine is used to wait for and return the result of an operation previously initiated by one of the LDAP asynchronous operation routines (e.g

This module is used by the programmer to pre-acquire large numbers of X resource IDs to be used with the X11::Protocol module. If supported by the server, X11::

mvaddchnstr(3ncurses) - add a string of characters (and attr
mvaddchnstr.3ncurses - These functions copy the (null-terminated) chstr array into the window image structure starting at the current cursor position. The four

We can't live, work or learn in freedom unless the software we use is free.