Shared Memory Limits

## Shared Memory Limits Shared Memory Limits |

## Synopsis

    #include <glibtop/shm_limits.h>

    #define             GLIBTOP_IPC_SHMMAX
    #define             GLIBTOP_IPC_SHMMIN
    #define             GLIBTOP_IPC_SHMMNI
    #define             GLIBTOP_IPC_SHMSEG
    #define             GLIBTOP_IPC_SHMALL
    #define             GLIBTOP_MAX_SHM_LIMITS
    struct              glibtop_shm_limits;
    void                glibtop_get_shm_limits              (glibtop_shm_limits *buf);
    #define             glibtop_get_shm_limits_r
    void                glibtop_get_shm_limits_l            (glibtop *server,
                                                             glibtop_shm_limits *buf);
    void                glibtop_get_shm_limits_p            (glibtop *Param1,
                                                             glibtop_shm_limits *buf);
    void                glibtop_get_shm_limits_s            (glibtop *server,
                                                             glibtop_shm_limits *buf);

## Description

## Details

### GLIBTOP_IPC_SHMMAX

    #define GLIBTOP_IPC_SHMMAX 0

### GLIBTOP_IPC_SHMMIN

    #define GLIBTOP_IPC_SHMMIN 1

### GLIBTOP_IPC_SHMMNI

    #define GLIBTOP_IPC_SHMMNI 2

### GLIBTOP_IPC_SHMSEG

    #define GLIBTOP_IPC_SHMSEG 3

### GLIBTOP_IPC_SHMALL

    #define GLIBTOP_IPC_SHMALL 4

### GLIBTOP_MAX_SHM_LIMITS

    #define GLIBTOP_MAX_SHM_LIMITS 5

### struct glibtop_shm_limits

    struct glibtop_shm_limits {
    	guint64 flags;
    	guint64 shmmax;		/* GLIBTOP_IPC_SHMMAX */
    	guint64 shmmin;		/* GLIBTOP_IPC_SHMMIN */
    	guint64 shmmni;		/* GLIBTOP_IPC_SHMMNI */
    	guint64 shmseg;		/* GLIBTOP_IPC_SHMSEG */
    	guint64 shmall;		/* GLIBTOP_IPC_SHMALL */
    };

### glibtop_get_shm_limits ()

    void                glibtop_get_shm_limits              (glibtop_shm_limits *buf);

### glibtop_get_shm_limits_r

    #define glibtop_get_shm_limits_r glibtop_get_shm_limits_p

### glibtop_get_shm_limits_l ()

    void                glibtop_get_shm_limits_l            (glibtop *server,
                                                             glibtop_shm_limits *buf);

### glibtop_get_shm_limits_p ()

    void                glibtop_get_shm_limits_p            (glibtop *Param1,
                                                             glibtop_shm_limits *buf);

### glibtop_get_shm_limits_s ()

    void                glibtop_get_shm_limits_s            (glibtop *server,
                                                             glibtop_shm_limits *buf);