pstat.2 (2010 09)

p
pstat(2) pstat(2)
NAME
pstat: pstat_getcommandline(), pstat_getcrashdev(), pstat_getcrashinfo(), pstat_getdisk(), pstat_getio(),
pstat_getdynamic(), pstat_getfile2(), pstat_getfiledetails(), pstat_getipc(), pstat_getlv(), pstat_getlwp(),
pstat_getmpathname(), pstat_getmsg(), pstat_getnode(), pstat_getpathname(), pstat_getpmq(),
pstat_getproc(), pstat_getprocessor(), pstat_getprocvm(), pstat_getpsem(), pstat_getpset(), pstat_getsem(),
pstat_getshm(), pstat_getsocket(), pstat_getstable(), pstat_getstatic(), pstat_getstream(), pstat_getswap(),
pstat_getvminfo() - an infrastructure for obtaining information from the kernel
SYNOPSIS
Remarks
Each function in NAME is described in its own PSTAT FUNCTION section below.
The functions
pstat_getlocality()
and pstat_getproclocality()
are described in a
separate manpage; see pstat_getlocality(2).
DESCRIPTION
The HP-UX pstat facility is a supported Application Programming Interface (API) that returns detailed
information about many aspects of a running kernel. The pstat facility provides a number of functions,
pstat_get*(), and corresponding structures,
pst_*, to get this information from the kernel.
This manpage serves as an overview of the pstat facility as well as the manpage for most of the pstat
functions. The associated data structure members and other identifiers for these pstat functions are
described in the include files
<sys/pstat.h>
and <sys/pstat/*_pstat_body.h>. Do not use
these header files to infer information about the usage of pstat functions that have their own manpages
(see the SYNOPSIS Remarks subsection).
Summary of Available Contexts
The pstat routines support certain areas of information, summarized in the following table. The columns
are defined as follows:
Context The area of information.
Struct The name of the structure that is used by the kernel to communicate results back to the
caller.
Routine The name of the pstat function used to access the context.
Instances The number of instances per item of the given context in the kernel.
SC Shortcut. "Yes" means a short cut exists; that is, if a special combination of inputs to the
given function returns information about a particular instance of the given context. "No"
means no short cut. "N/A" means not applicable.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (28 pages)