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
                        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 *,
                                                             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

### glibtop_shm_limits

    typedef struct {
    	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_shm_limits;

### glibtop_get_shm_limits ()

    void                glibtop_get_shm_limits              (glibtop_shm_limits *buf);

`buf` : |

### glibtop_get_shm_limits_r

    #define             glibtop_get_shm_limits_r

### glibtop_get_shm_limits_l ()

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

`server` : |
`buf` : |

### glibtop_get_shm_limits_p ()

    void                glibtop_get_shm_limits_p            (glibtop *,
                                                             glibtop_shm_limits *buf);

`Param1` : |
`buf` : |

### glibtop_get_shm_limits_s ()

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

`server` : |
`buf` : |