![]() |
![]() |
![]() |
Libgtop Reference Manual | ![]() |
---|---|---|---|---|
#include <glibtop/proclist.h> #define GLIBTOP_PROCLIST_NUMBER #define GLIBTOP_PROCLIST_TOTAL #define GLIBTOP_PROCLIST_SIZE #define GLIBTOP_MAX_PROCLIST #define GLIBTOP_KERN_PROC_ALL #define GLIBTOP_KERN_PROC_PID #define GLIBTOP_KERN_PROC_PGRP #define GLIBTOP_KERN_PROC_SESSION #define GLIBTOP_KERN_PROC_TTY #define GLIBTOP_KERN_PROC_UID #define GLIBTOP_KERN_PROC_RUID #define GLIBTOP_KERN_PROC_MASK #define GLIBTOP_EXCLUDE_IDLE #define GLIBTOP_EXCLUDE_SYSTEM #define GLIBTOP_EXCLUDE_NOTTY glibtop_proclist; pid_t* glibtop_get_proclist (glibtop_proclist *buf, gint64 which, gint64 arg); #define glibtop_get_proclist_r pid_t* glibtop_get_proclist_l (glibtop *server, glibtop_proclist *buf, gint64 which, gint64 arg); pid_t* glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf, gint64 which, gint64 arg); pid_t* glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf, gint64 which, gint64 arg);
typedef struct { guint64 flags; guint64 number; /* GLIBTOP_PROCLIST_NUMBER */ guint64 total; /* GLIBTOP_PROCLIST_TOTAL */ guint64 size; /* GLIBTOP_PROCLIST_SIZE */ } glibtop_proclist;
pid_t* glibtop_get_proclist (glibtop_proclist *buf, gint64 which, gint64 arg);
buf : |
|
which : |
|
arg : |
|
Returns : |
pid_t* glibtop_get_proclist_l (glibtop *server, glibtop_proclist *buf, gint64 which, gint64 arg);
server : |
|
buf : |
|
which : |
|
arg : |
|
Returns : |
pid_t* glibtop_get_proclist_p (glibtop *server, glibtop_proclist *buf, gint64 which, gint64 arg);
server : |
|
buf : |
|
which : |
|
arg : |
|
Returns : |
pid_t* glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf, gint64 which, gint64 arg);
server : |
|
buf : |
|
which : |
|
arg : |
|
Returns : |