1SLABTOP(1) Linux User's Manual SLABTOP(1)
2
3
4
6 slabtop - display kernel slab cache information in real time
7
8
10 slabtop [ options ]
11
12
14 slabtop(1) displays detailed kernel slab cache information in real
15 time. It displays a listing of the top caches sorted by one of the
16 listed sort criteria. It also displays a statistics header filled with
17 slab layer information.
18
19
21 Normal invocation of slabtop(1) does not require any options. The
22 behavior, however, can be fine-tuned by specifying one or more of the
23 following flags:
24
25 --delay=n, -d n
26 Refresh the display every n seconds. By default, slabtop(1)
27 refreshes the display every three seconds. To exit the program,
28 hit q.
29
30 --sort=S, -s S
31 Sort by S, where S is one of the sort criteria.
32
33 --once, -o
34 Display the output once and then exit.
35
36 --version, -V
37 Display version information and exit.
38
39 --help Display usage information and exit.
40
41
43 The following are valid sort criteria used to sort the individual slab
44 caches and thereby determine what are the "top" slab caches to display.
45 The default sort criteria is to sort by the number of objects ("o").
46
47 The sort criteria can also be changed while slabtop is running by
48 pressing the associated character.
49
50 a: sort by number of active objects
51
52 b: sort by objects per slab
53
54 c: sort by cache size
55
56 l: sort by number of slabs
57
58 v sort by number of active slabs
59
60 n: sort by name
61
62 o: sort by number of objects
63
64 p: sort by pages per slab
65
66 s: sort by object size
67
68 u: sort by cache utilization
69
70
72 slabtop(1) accepts keyboard commands from the user during use. The
73 following are supported. In the case of letters, both cases are
74 accepted.
75
76 Each of the valid sort characters are also accepted, to change the sort
77 routine. See the section SORT CRITERIA.
78
79
80 <SPACEBAR>
81 Refresh the screen.
82
83 Q Quit the program.
84
85
87 /proc/slabinfo -- slab information
88
89
91 free(1), ps(1), top(1), vmstat(8)
92
93
95 Currently, slabtop(1) requires a 2.4 or later kernel (specifically, a
96 version 1.1 or later /proc/slabinfo). Kernel 2.2 should be supported
97 in the future.
98
99 The slabtop statistic header is tracking how many bytes of slabs are
100 being used and it not a measure of physical memory. The 'Slab' field in
101 the /proc/meminfo file is tracking information about used slab physical
102 memory.
103
104
106 Written by Chris Rivera and Robert Love.
107
108 slabtop(1) was inspired by Martin Bligh's perl script, vmtop. The
109 procps package is maintained by Albert Cahalan <albert@users.sf.net>.
110
111 Please send bug reports to <procps-feedback@lists.sf.net>.
112
113
114
115Linux 13 Sep 2003 SLABTOP(1)