fBpcp-slabinfofP - Man Page

Report statistics for kernel slab allocator statistics


pcp [pcp options] slabinfo [-s samples] [-a archive] [-Z --timezone] [-z --hostzone] [-V Version]


The pcp-slabinfo command is used for viewing different stats related to slab. It helps users analyze useful information related to the slab allocator. The information includes the total number of objects that are currently active, allocated objects, pages per slab, etc. By default, pcp-slabinfo reports live data for the local host.

The statistics shown are as follows:


active_objsThe number of objects that are currently active (i.e., in use)
num_objsThe total number of allocated objects (i.e. objects that are both in use and not in use).
objsizeThe size of objects in this slab, in bytes.
objperslabThe number of objects stored in each slab.
pagesperslabThe number of pages allocated for each slab
active_slabsThe number of active slabs.
num_slabsThe total number of slabs.


-a,  --archive

Fetch /proc/slabinfo for a specified archive file

-s,  --samples

Get the slabinfo for the specified number of samples count

-z,  --hostzone

Set the reporting timezone to the local time of metrics source

-Z,  --timezone

Set the reporting timezone

-V,  --version

Display the version number and exit.

-?,  --help

Display the usage message and exit.


pcp-slabinfo collects information from /proc/slabinfo and aims to be command-line and output compatible with it.

PCP Environment

Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).

For environment variables affecting PCP tools, see pmGetOptions(3).

See Also

PCPIntro(1), pcp(1), pmParseInterval(3), environ(7).


PCP Performance Co-Pilot