## Command Command |

## Functions

#define | glibtop_call()
void * | glibtop_call_l ()
void * | glibtop_call_s ()

## Types and Values

#define | GLIBTOP_CMND_QUIT
#define | GLIBTOP_CMND_SYSDEPS
#define | GLIBTOP_CMND_CPU
#define | GLIBTOP_CMND_MEM
#define | GLIBTOP_CMND_SWAP
#define | GLIBTOP_CMND_UPTIME
#define | GLIBTOP_CMND_LOADAVG
#define | GLIBTOP_CMND_SHM_LIMITS
#define | GLIBTOP_CMND_MSG_LIMITS
#define | GLIBTOP_CMND_SEM_LIMITS
#define | GLIBTOP_CMND_PROCLIST
#define | GLIBTOP_CMND_PROC_STATE
#define | GLIBTOP_CMND_PROC_UID
#define | GLIBTOP_CMND_PROC_MEM
#define | GLIBTOP_CMND_PROC_TIME
#define | GLIBTOP_CMND_PROC_SIGNAL
#define | GLIBTOP_CMND_PROC_KERNEL
#define | GLIBTOP_CMND_PROC_SEGMENT
#define | GLIBTOP_CMND_PROC_ARGS
#define | GLIBTOP_CMND_PROC_MAP
#define | GLIBTOP_CMND_MOUNTLIST
#define | GLIBTOP_CMND_FSUSAGE
#define | GLIBTOP_CMND_NETLOAD
#define | GLIBTOP_CMND_PPP
#define | GLIBTOP_CMND_NETLIST
#define | GLIBTOP_CMND_PROC_OPEN_FILES
#define | GLIBTOP_MAX_CMND
struct | glibtop_command
struct | glibtop_response
union | glibtop_response_union

## Includes

    #include <glibtop/command.h>

## Description

## Functions

### glibtop_call()

    #define glibtop_call(p1, p2, p3, p4) glibtop_call_r(glibtop_global_server, p1, p2, p3, p4)

### glibtop_call_l ()

    void *
    glibtop_call_l (glibtop *server,
                    unsigned  command,
                    size_t send_size,
                    const void *send_buf,
                    size_t recv_size,
                    void *recv_buf);

### glibtop_call_s ()

    void *
    glibtop_call_s (glibtop *server,
                    unsigned  command,
                    size_t send_size,
                    const void *send_buf,
                    size_t recv_size,
                    void *recv_buf);

## Types and Values

### GLIBTOP_CMND_QUIT

    #define GLIBTOP_CMND_QUIT		0

### GLIBTOP_CMND_SYSDEPS

    #define GLIBTOP_CMND_SYSDEPS		1

### GLIBTOP_CMND_CPU

    #define GLIBTOP_CMND_CPU		2

### GLIBTOP_CMND_MEM

    #define GLIBTOP_CMND_MEM		3

### GLIBTOP_CMND_SWAP

    #define GLIBTOP_CMND_SWAP		4

### GLIBTOP_CMND_UPTIME

    #define GLIBTOP_CMND_UPTIME		5

### GLIBTOP_CMND_LOADAVG

    #define GLIBTOP_CMND_LOADAVG		6

### GLIBTOP_CMND_SHM_LIMITS

    #define GLIBTOP_CMND_SHM_LIMITS		7

### GLIBTOP_CMND_MSG_LIMITS

    #define GLIBTOP_CMND_MSG_LIMITS		8

### GLIBTOP_CMND_SEM_LIMITS

    #define GLIBTOP_CMND_SEM_LIMITS		9

### GLIBTOP_CMND_PROCLIST

    #define GLIBTOP_CMND_PROCLIST		10

### GLIBTOP_CMND_PROC_STATE

    #define GLIBTOP_CMND_PROC_STATE		11

### GLIBTOP_CMND_PROC_UID

    #define GLIBTOP_CMND_PROC_UID		12

### GLIBTOP_CMND_PROC_MEM

    #define GLIBTOP_CMND_PROC_MEM		13

### GLIBTOP_CMND_PROC_TIME

    #define GLIBTOP_CMND_PROC_TIME		14

### GLIBTOP_CMND_PROC_SIGNAL

    #define GLIBTOP_CMND_PROC_SIGNAL 15

### GLIBTOP_CMND_PROC_KERNEL

    #define GLIBTOP_CMND_PROC_KERNEL 16

### GLIBTOP_CMND_PROC_SEGMENT

    #define GLIBTOP_CMND_PROC_SEGMENT 17

### GLIBTOP_CMND_PROC_ARGS

    #define GLIBTOP_CMND_PROC_ARGS		18

### GLIBTOP_CMND_PROC_MAP

    #define GLIBTOP_CMND_PROC_MAP		19

### GLIBTOP_CMND_MOUNTLIST

    #define GLIBTOP_CMND_MOUNTLIST		20

### GLIBTOP_CMND_FSUSAGE

    #define GLIBTOP_CMND_FSUSAGE		21

### GLIBTOP_CMND_NETLOAD

    #define GLIBTOP_CMND_NETLOAD		22

### GLIBTOP_CMND_PPP

    #define GLIBTOP_CMND_PPP		23

### GLIBTOP_CMND_NETLIST

    #define GLIBTOP_CMND_NETLIST		24

### GLIBTOP_CMND_PROC_OPEN_FILES

    #define GLIBTOP_CMND_PROC_OPEN_FILES 25

### GLIBTOP_MAX_CMND

    #define GLIBTOP_MAX_CMND		29

### struct glibtop_command

    struct glibtop_command {
    	guint64 command;
    	guint64 size, data_size;
    	char		parameter [_GLIBTOP_PARAM_SIZE];
    };

### struct glibtop_response

    struct glibtop_response {
    	gint64 offset;
    	guint64 size, data_size;
    	glibtop_response_union u;
    };

### union glibtop_response_union