1PCP-SLABINFO(1) General Commands Manual PCP-SLABINFO(1)
2
3
4
6 pcp-slabinfo - Report statistics for kernel slab allocator statistics
7
9 pcp [pcp options] slabinfo [-s samples] [-a archive] [-Z --timezone]
10 [-z --hostzone] [-V Version]
11
13 The pcp-slabinfo command is used for viewing different stats related to
14 slab. It helps users analyze useful information related to the slab
15 allocator. The information includes the total number of objects that
16 are currently active, allocated objects, pages per slab, etc. By de‐
17 fault, pcp-slabinfo reports live data for the local host.
18
19 The statistics shown are as follows:
20
21 HEADER DESCRIPTION
22 ────────────────────────────────────────────────────────────────────────
23 active_objs The number of objects that are currently active (i.e.,
24 in use)
25 num_objs The total number of allocated objects (i.e. objects that
26 are both in use and not in use).
27 objsize The size of objects in this slab, in bytes.
28 objperslab The number of objects stored in each slab.
29 pagesperslab The number of pages allocated for each slab
30 active_slabs The number of active slabs.
31 num_slabs The total number of slabs.
32
34 -a, --archive
35 Fetch /proc/slabinfo for a specified archive file
36
37 -s, --samples
38 Get the slabinfo for the specified number of samples count
39
40 -z, --hostzone
41 Set the reporting timezone to the local time of metrics source
42
43 -Z, --timezone
44 Set the reporting timezone
45
46 -V, --version
47 Display the version number and exit.
48
49 -?, --help
50 Display the usage message and exit.
51
53 pcp-slabinfo collects information from /proc/slabinfo and aims to be
54 command-line and output compatible with it.
55
57 Environment variables with the prefix PCP_ are used to parameterize the
58 file and directory names used by PCP. On each installation, the file
59 /etc/pcp.conf contains the local values for these variables. The
60 $PCP_CONF variable may be used to specify an alternative configuration
61 file, as described in pcp.conf(5).
62
63 For environment variables affecting PCP tools, see pmGetOptions(3).
64
66 PCPIntro(1), pcp(1), pmParseInterval(3), environ(7).
67
68
69
70Performance Co-Pilot PCP PCP-SLABINFO(1)