sysdeps: Libgtop Reference Manual

## sysdeps sysdeps |

## Functions

void | glibtop_get_sysdeps ()
void | glibtop_get_sysdeps_r ()

## Types and Values

#define | GLIBTOP_SYSDEPS_FEATURES
#define | GLIBTOP_SYSDEPS_CPU
#define | GLIBTOP_SYSDEPS_MEM
#define | GLIBTOP_SYSDEPS_SWAP
#define | GLIBTOP_SYSDEPS_UPTIME
#define | GLIBTOP_SYSDEPS_LOADAVG
#define | GLIBTOP_SYSDEPS_SHM_LIMITS
#define | GLIBTOP_SYSDEPS_MSG_LIMITS
#define | GLIBTOP_SYSDEPS_SEM_LIMITS
#define | GLIBTOP_SYSDEPS_PROCLIST
#define | GLIBTOP_SYSDEPS_PROC_STATE
#define | GLIBTOP_SYSDEPS_PROC_UID
#define | GLIBTOP_SYSDEPS_PROC_MEM
#define | GLIBTOP_SYSDEPS_PROC_TIME
#define | GLIBTOP_SYSDEPS_PROC_SIGNAL
#define | GLIBTOP_SYSDEPS_PROC_KERNEL
#define | GLIBTOP_SYSDEPS_PROC_SEGMENT
#define | GLIBTOP_SYSDEPS_PROC_ARGS
#define | GLIBTOP_SYSDEPS_PROC_MAP
#define | GLIBTOP_SYSDEPS_MOUNTLIST
#define | GLIBTOP_SYSDEPS_FSUSAGE
#define | GLIBTOP_SYSDEPS_NETLOAD
#define | GLIBTOP_SYSDEPS_PPP
#define | GLIBTOP_SYSDEPS_NETLIST
#define | GLIBTOP_SYSDEPS_PROC_OPEN_FILES
#define | GLIBTOP_MAX_SYSDEPS
#define | GLIBTOP_SYSDEPS_ALL
struct | glibtop_sysdeps

## Includes

    #include <glibtop/sysdeps.h>

## Description

## Functions

### glibtop_get_sysdeps ()

    void
    glibtop_get_sysdeps (glibtop_sysdeps *buf);

### glibtop_get_sysdeps_r ()

    void
    glibtop_get_sysdeps_r (glibtop *server,
                           glibtop_sysdeps *buf);

## Types and Values

### GLIBTOP_SYSDEPS_FEATURES

    #define GLIBTOP_SYSDEPS_FEATURES 0

### GLIBTOP_SYSDEPS_CPU

    #define GLIBTOP_SYSDEPS_CPU		1

### GLIBTOP_SYSDEPS_MEM

    #define GLIBTOP_SYSDEPS_MEM		2

### GLIBTOP_SYSDEPS_SWAP

    #define GLIBTOP_SYSDEPS_SWAP		3

### GLIBTOP_SYSDEPS_UPTIME

    #define GLIBTOP_SYSDEPS_UPTIME		4

### GLIBTOP_SYSDEPS_LOADAVG

    #define GLIBTOP_SYSDEPS_LOADAVG		5

### GLIBTOP_SYSDEPS_SHM_LIMITS

    #define GLIBTOP_SYSDEPS_SHM_LIMITS 6

### GLIBTOP_SYSDEPS_MSG_LIMITS

    #define GLIBTOP_SYSDEPS_MSG_LIMITS 7

### GLIBTOP_SYSDEPS_SEM_LIMITS

    #define GLIBTOP_SYSDEPS_SEM_LIMITS 8

### GLIBTOP_SYSDEPS_PROCLIST

    #define GLIBTOP_SYSDEPS_PROCLIST 9

### GLIBTOP_SYSDEPS_PROC_STATE

    #define GLIBTOP_SYSDEPS_PROC_STATE 10

### GLIBTOP_SYSDEPS_PROC_UID

    #define GLIBTOP_SYSDEPS_PROC_UID 11

### GLIBTOP_SYSDEPS_PROC_MEM

    #define GLIBTOP_SYSDEPS_PROC_MEM 12

### GLIBTOP_SYSDEPS_PROC_TIME

    #define GLIBTOP_SYSDEPS_PROC_TIME 13

### GLIBTOP_SYSDEPS_PROC_SIGNAL

    #define GLIBTOP_SYSDEPS_PROC_SIGNAL 14

### GLIBTOP_SYSDEPS_PROC_KERNEL

    #define GLIBTOP_SYSDEPS_PROC_KERNEL 15

### GLIBTOP_SYSDEPS_PROC_SEGMENT

    #define GLIBTOP_SYSDEPS_PROC_SEGMENT 16

### GLIBTOP_SYSDEPS_PROC_ARGS

    #define GLIBTOP_SYSDEPS_PROC_ARGS 17

### GLIBTOP_SYSDEPS_PROC_MAP

    #define GLIBTOP_SYSDEPS_PROC_MAP 18

### GLIBTOP_SYSDEPS_MOUNTLIST

    #define GLIBTOP_SYSDEPS_MOUNTLIST 19

### GLIBTOP_SYSDEPS_FSUSAGE

    #define GLIBTOP_SYSDEPS_FSUSAGE		20

### GLIBTOP_SYSDEPS_NETLOAD

    #define GLIBTOP_SYSDEPS_NETLOAD		21

### GLIBTOP_SYSDEPS_PPP

    #define GLIBTOP_SYSDEPS_PPP		22

### GLIBTOP_SYSDEPS_NETLIST

    #define GLIBTOP_SYSDEPS_NETLIST		23

### GLIBTOP_SYSDEPS_PROC_OPEN_FILES

    #define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24

### GLIBTOP_MAX_SYSDEPS

    #define GLIBTOP_MAX_SYSDEPS		29

### GLIBTOP_SYSDEPS_ALL

    #define GLIBTOP_SYSDEPS_ALL		((1 << GLIBTOP_MAX_SYSDEPS) - 1)

### struct glibtop_sysdeps

    struct glibtop_sysdeps {
    	guint64 flags;
    	guint64 features;		/* server features */
    	guint64 cpu;			/* glibtop_cpu		*/
    	guint64 mem;			/* glibtop_mem		*/
    	guint64 swap;			/* glibtop_swap		*/
    	guint64 uptime;			/* glibtop_uptime */
    	guint64 loadavg;		/* glibtop_loadavg */
    	guint64 shm_limits;		/* glibtop_shm_limits */
    	guint64 msg_limits;		/* glibtop_msg_limits */
    	guint64 sem_limits;		/* glibtop_sem_limits */
    	guint64 proclist;		/* glibtop_proclist */
    	guint64 proc_state;		/* glibtop_proc_state */
    	guint64 proc_uid;		/* glibtop_proc_uid */
    	guint64 proc_mem;		/* glibtop_proc_mem */
    	guint64 proc_time;		/* glibtop_proc_time */
    	guint64 proc_signal;		/* glibtop_proc_signal */
    	guint64 proc_kernel;		/* glibtop_proc_kernel */
    	guint64 proc_segment;		/* glibtop_proc_segment */
    	guint64 proc_args;		/* glibtop_proc_args */
    	guint64 proc_map;		/* glibtop_proc_map */
    	guint64 proc_open_files; /* glibtop_proc_open_files */
    	guint64 mountlist;		/* glibtop_mountlist */
    	guint64 fsusage;		/* glibtop_fsusage */
    	guint64 netlist;		/* glibtop_netlist */
    	guint64 netload;		/* glibtop_netload */
    	guint64 ppp;			/* glibtop_ppp		*/
    	guint64 proc_wd;		/* glibtop_proc_wd */
    	guint64 proc_affinity;		/* glibtop_proc_affinity */
    	guint64 proc_io;		/* glibtop_proc_io */
    	guint64 disk;			/* glibtop_disk		*/
    	guint64 reserved1;
    	guint64 reserved2;
    	guint64 reserved3;
    	guint64 reserved4;
    	guint64 reserved5;
    	guint64 reserved6;
    	guint64 reserved7;
    };