HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)

p
pstat(2) pstat(2)
NAME
pstat(), pstat_getcommandline(), pstat_getcrashdev(), pstat_getcrashinfo(), pstat_getdisk(),
pstat_getdynamic(), pstat_getfile(), pstat_getfile2(), pstat_getfiledetails(), pstat_getipc(), pstat_getlocality(),
pstat_getlv(), pstat_getlwp(), pstat_getmpathname(), pstat_getmsg(), pstat_getnode(), pstat_getpathname(),
pstat_getpmq(), pstat_getproc(), pstat_getprocessor(), pstat_getproclocality(), pstat_getprocvm(),
pstat_getpsem(), pstat_getpset(), pstat_getsem(), pstat_getshm(), pstat_getsocket(), pstat_getstable(),
pstat_getstatic(), pstat_getstream(), pstat_getswap(), pstat_getvminfo() - get system information
SYNOPSIS
#include <sys/param.h>
#include <sys/pstat.h>
int pstat(
int, union pstun, size_t, size_t, int
);
int pstat_getcommandline(
char *buf, size_t elemsize, size_t elemcount,
int pid
);
int pstat_getcrashdev(
struct pst_crashdev *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getcrashinfo(
struct pst_crashinfo *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getdisk(
struct pst_diskinfo *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getdynamic(
struct pst_dynamic *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getfile(
struct pst_fileinfo *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getfile2(
struct pst_fileinfo2 *buf, size_t elemsize, size_t elemcount,
int index, pid_t pid
);
int pstat_getfiledetails(
struct pst_filedetails *buf, size_t elemsize, struct pst_fid *fid
);
int pstat_getipc(
struct pst_ipcinfo *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getlv(
struct pst_lvinfo *buf, size_t elemsize, size_t elemcount,
int index
);
int pstat_getlwp(
struct lwp_status *buf, size_t elemsize, size_t elemcount,
int index, pid_t pid
274 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update