1SLABTOP(1)                       User Commands                      SLABTOP(1)
2
3
4

NAME

6       slabtop - display kernel slab cache information in real time
7

SYNOPSIS

9       slabtop [options]
10

DESCRIPTION

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

OPTIONS

18       Normal invocation of slabtop does not require any options.  The  behav‐
19       ior,  however,  can be fine-tuned by specifying one or more of the fol‐
20       lowing flags:
21
22       -d, --delay=N
23              Refresh the display every n in seconds.  By default, slabtop re‐
24              freshes  the  display every three seconds.  To exit the program,
25              hit q.  This cannot be combined with the -o option.
26
27       -s, --sort=S
28              Sort by S, where S is one of the sort criteria.
29
30       -o, --once
31              Display the output once and then exit.
32
33       -V, --version
34              Display version information and exit.
35
36       -h, --help
37              Display usage information and exit.
38

SORT CRITERIA

40       The following are valid sort criteria used to sort the individual  slab
41       caches and thereby determine what are the "top" slab caches to display.
42       The default sort criteria is to sort by the number of objects ("o").
43
44       The sort criteria can also be  changed  while  slabtop  is  running  by
45       pressing the associated character.
46
47       character   description                header
48       a           number of active objects   ACTIVE
49       b           objects per slab           OBJ/SLAB
50       c           cache size                 CACHE SIZE
51       l           number of slabs            SLABS
52       v           number of active slabs     N/A
53       n           name                       NAME
54       o           number of objects          OBJS
55       p           pages per slab             N/A
56       s           object size                OBJ SIZE
57       u           cache utilization          USE
58

COMMANDS

60       slabtop  accepts  keyboard commands from the user during use.  The fol‐
61       lowing are supported.  In the case of letters, both cases are accepted.
62
63       Each of the valid sort characters are also accepted, to change the sort
64       routine. See the section SORT CRITERIA.
65
66       <SPACEBAR>
67              Refresh the screen.
68
69       Q      Quit the program.
70

FILES

72       /proc/slabinfo
73              slab information
74

SEE ALSO

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

NOTES

79       Currently, slabtop requires a 2.4 or later kernel (specifically, a ver‐
80       sion 1.1 or later /proc/slabinfo).  Kernel 2.2 should be  supported  in
81       the future.
82
83       The  slabtop  statistic  header is tracking how many bytes of slabs are
84       being used and is not a measure of physical memory.  The  'Slab'  field
85       in the /proc/meminfo file is tracking information about used slab phys‐
86       ical
87

AUTHORS

89       Written by Chris Rivera and Robert Love.
90
91       slabtop was inspired by Martin Bligh's perl script, vmtop.
92

REPORTING BUGS

94       Please send bug reports to ⟨procps@freelists.org⟩
95
96
97
98procps-ng                         2021-03-11                        SLABTOP(1)
Impressum