pcp-slabinfo(1) — Linux manual page


PCP-SLABINFO(1)          General Commands Manual         PCP-SLABINFO(1)

NAME         top

       pcp-slabinfo - Report statistics for kernel slab allocator

SYNOPSIS         top

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

DESCRIPTION         top

       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_objs    The number of objects that are currently active
                      (i.e., in use)
       num_objs       The total number of allocated objects (i.e.
                      objects that are both in use and not in use).
       objsize        The size of objects in this slab, in bytes.
       objperslab     The number of objects stored in each slab.
       pagesperslab   The number of pages allocated for each slab
       active_slabs   The number of active slabs.
       num_slabs      The total number of slabs.

OPTIONS         top

       -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

       -Z, --timezone
              Set the reporting timezone

       -V, --version
              Display the version number and exit.

       -?, --help
              Display the usage message and exit.

NOTES         top

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


       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

       For environment variables affecting PCP tools, see

SEE ALSO         top

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

COLOPHON         top

       This page is part of the PCP (Performance Co-Pilot) project.
       Information about the project can be found at 
       ⟨http://www.pcp.io/⟩.  If you have a bug report for this manual
       page, send it to pcp@groups.io.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/performancecopilot/pcp.git⟩ on 2023-12-22.
       (At that time, the date of the most recent commit that was found
       in the repository was 2023-12-16.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

Performance Co-Pilot               PCP                   PCP-SLABINFO(1)