1 .\" slabtop.1 - manpage for the slabtop(1) utility, part of procps
3 .\" Copyright (C) 2003 Chris Rivera
4 .\" Licensed under the terms of the GNU Library General Public License, v2
5 .TH SLABTOP 1 "13 Sep 2003" "Linux" "Linux User's Manual"
7 slabtop \- display kernel slab cache information in real time
10 .BI "slabtop [ " options " ] "
14 displays detailed kernel slab cache information in real time. It displays a
15 listing of the top caches sorted by one of the listed sort criteria. It also
16 displays a statistics header filled with slab layer information.
21 does not require any options. The behavior, however, can be fine-tuned by
22 specifying one or more of the following flags:
24 .B \-\^\-delay=n, \-d n
25 Refresh the display every n seconds. By default,
27 refreshes the display every three seconds. To exit the program, hit
30 .B \-\^\-sort=S, \-s S
31 Sort by S, where S is one of the sort criteria.
34 Display the output once and then exit.
37 Display version information and exit.
40 Display usage information and exit.
43 The following are valid sort criteria used to sort the individual slab caches
44 and thereby determine what are the "top" slab caches to display. The default
45 sort criteria is to sort by the number of objects ("o").
47 The sort criteria can also be changed while slabtop is running by pressing
48 the associated character.
51 sort by number of active objects
54 sort by objects per slab
60 sort by number of slabs
63 sort by number of active slabs
69 sort by number of objects
72 sort by pages per slab
78 sort by cache utilization
82 accepts keyboard commands from the user during use. The following are
83 supported. In the case of letters, both cases are accepted.
85 Each of the valid sort characters are also accepted, to change the sort
86 routine. See the section
97 .IR /proc/slabinfo " \-\- slab information"
108 requires a 2.4 or later kernel (specifically, a version 1.1 or later
109 .IR /proc/slabinfo ).
110 Kernel 2.2 should be supported in the future.
112 The slabtop statistic header is tracking how many bytes of slabs are being used
113 and it not a measure of physical memory. The 'Slab' field in the /proc/meminfo
114 file is tracking information about used slab physical memory.
117 Written by Chris Rivera and Robert Love.
120 was inspired by Martin Bligh's perl script,
122 The procps package is maintained by Albert Cahalan <albert@users.sf.net>.
124 Please send bug reports to <procps-feedback@lists.sf.net>.