Top | ![]() |
![]() |
![]() |
![]() |
void | glibtop_get_proc_state () |
void | glibtop_get_proc_state_l () |
void | glibtop_get_proc_state_p () |
void | glibtop_get_proc_state_s () |
#define | GLIBTOP_PROC_STATE_CMD |
#define | GLIBTOP_PROC_STATE_STATE |
#define | GLIBTOP_PROC_STATE_UID |
#define | GLIBTOP_PROC_STATE_GID |
#define | GLIBTOP_PROC_STATE_RUID |
#define | GLIBTOP_PROC_STATE_RGID |
#define | GLIBTOP_PROC_STATE_HAS_CPU |
#define | GLIBTOP_PROC_STATE_PROCESSOR |
#define | GLIBTOP_PROC_STATE_LAST_PROCESSOR |
#define | GLIBTOP_MAX_PROC_STATE |
#define | GLIBTOP_PROCESS_RUNNING |
#define | GLIBTOP_PROCESS_INTERRUPTIBLE |
#define | GLIBTOP_PROCESS_UNINTERRUPTIBLE |
#define | GLIBTOP_PROCESS_ZOMBIE |
#define | GLIBTOP_PROCESS_STOPPED |
#define | GLIBTOP_PROCESS_SWAPPING |
#define | GLIBTOP_PROCESS_DEAD |
struct | glibtop_proc_state |
#define | glibtop_get_proc_state_r |
void glibtop_get_proc_state_l (glibtop *server
,glibtop_proc_state *buf
,pid_t pid
);
void glibtop_get_proc_state_p (glibtop *server
,glibtop_proc_state *buf
,pid_t pid
);
void glibtop_get_proc_state_s (glibtop *server
,glibtop_proc_state *buf
,pid_t pid
);
struct glibtop_proc_state { guint64 flags; char cmd[40]; /* basename of executable file in * call to exec(2) */ unsigned state; /* NOTE: when porting the library, TRY HARD to implement the * following two fields. */ /* IMPORTANT NOTICE: For security reasons, it is extremely important * only to set the flags value for those two * fields if their values are corrent ! */ int uid; /* UID of process */ int gid; /* GID of process */ int ruid; int rgid; int has_cpu; int processor; int last_processor; };