logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pcp-slabinfo - Report statistics for kernel slab allocator

Description

       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:
       HEADERDESCRIPTION
       ──────────────────────────────────────────────────────────────────────────────────────────────────────────
       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.

Name

pcp-slabinfo - Report statistics for kernel slab allocator

Notes

pcp-slabinfo collects information from /proc/slabinfo.

Options

-afile, --archive=file
              Fetch /proc/slabinfo for a specified archive file-scount, --samples=count
              Get the slabinfo statistics for specified number of samples count-V, --version
              Display version number and exit.

       -z, --hostzone
              Use the local timezone of the host that is the source of the performance metrics, as identified by
              either the -h or the -a options.  The default is to use the timezone of the local host.

       -Ztimezone, --timezone=timezone
              Use  timezone  for the date and time.  Timezone is in the format of the environment variable TZ as
              described in environ(7).

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

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).

Performance Co-Pilot                                   PCP                                       PCP-SLABINFO(1)

Synopsis

pcp [pcpoptions] slabinfo [-aarchive] [-ssamples] [-Ztimezone]

See Also