## procmem procmem |

## Functions

void | glibtop_get_proc_mem ()
void | glibtop_get_proc_mem_l ()
void | glibtop_get_proc_mem_p ()
void | glibtop_get_proc_mem_s ()

## Types and Values

#define | GLIBTOP_PROC_MEM_SIZE
#define | GLIBTOP_PROC_MEM_VSIZE
#define | GLIBTOP_PROC_MEM_RESIDENT
#define | GLIBTOP_PROC_MEM_SHARE
#define | GLIBTOP_PROC_MEM_RSS
#define | GLIBTOP_PROC_MEM_RSS_RLIM
#define | GLIBTOP_MAX_PROC_MEM
struct | glibtop_proc_mem
#define | glibtop_get_proc_mem_r

## Includes

    #include <glibtop/procmem.h>

## Description

## Functions

### glibtop_get_proc_mem ()

    void
    glibtop_get_proc_mem (glibtop_proc_mem *buf,
                          pid_t pid);

### glibtop_get_proc_mem_l ()

    void
    glibtop_get_proc_mem_l (glibtop *server,
                            glibtop_proc_mem *buf,
                            pid_t pid);

### glibtop_get_proc_mem_p ()

    void
    glibtop_get_proc_mem_p (glibtop *server,
                            glibtop_proc_mem *buf,
                            pid_t pid);

### glibtop_get_proc_mem_s ()

    void
    glibtop_get_proc_mem_s (glibtop *server,
                            glibtop_proc_mem *buf,
                            pid_t pid);

## Types and Values

### GLIBTOP_PROC_MEM_SIZE

    #define GLIBTOP_PROC_MEM_SIZE		0

### GLIBTOP_PROC_MEM_VSIZE

    #define GLIBTOP_PROC_MEM_VSIZE		1

### GLIBTOP_PROC_MEM_RESIDENT

    #define GLIBTOP_PROC_MEM_RESIDENT 2

### GLIBTOP_PROC_MEM_SHARE

    #define GLIBTOP_PROC_MEM_SHARE		3

### GLIBTOP_PROC_MEM_RSS

    #define GLIBTOP_PROC_MEM_RSS		4

### GLIBTOP_PROC_MEM_RSS_RLIM

    #define GLIBTOP_PROC_MEM_RSS_RLIM 5

### GLIBTOP_MAX_PROC_MEM

    #define GLIBTOP_MAX_PROC_MEM		6

### struct glibtop_proc_mem

    struct glibtop_proc_mem {
    	guint64 flags;
    	guint64 size;		/* total # of pages of memory */
    	guint64 vsize;		/* number of pages of virtual memory ... */
    	guint64 resident; /* number of resident set
    				 * (non-swapped) pages (4k) */
    	guint64 share;		/* number of pages of shared (mmap'd) memory */
    	guint64 rss;		/* resident set size */
    	guint64 rss_rlim; /* current limit (in bytes) of the rss
    				 * of the process; usually 2,147,483,647 */
    };

### glibtop_get_proc_mem_r

    #define glibtop_get_proc_mem_r		glibtop_get_proc_mem_p