Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
appldata_mem.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/kernel_stat.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
#include <asm/io.h>
#include "appldata.h"

Go to the source code of this file.

Data Structures

struct  appldata_mem_data
 

Macros

#define P2K(x)   ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */
 

Functions

 module_init (appldata_mem_init)
 
 module_exit (appldata_mem_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Gerald Schaefer")
 
 MODULE_DESCRIPTION ("Linux-VM Monitor Stream, MEMORY statistics")
 

Variables

u64 timestamp
 
u32 sync_count_1
 
u32 sync_count_2
 
u64 pgpgin
 
u64 pgpgout
 
u64 pswpin
 
u64 pswpout
 
u64 sharedram
 
u64 totalram
 
u64 freeram
 
u64 totalhigh
 
u64 freehigh
 
u64 bufferram
 
u64 cached
 
u64 totalswap
 
u64 freeswap
 
u64 pgalloc
 
u64 pgfault
 
u64 pgmajfault
 

Macro Definition Documentation

#define P2K (   x)    ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */

Definition at line 21 of file appldata_mem.c.

Function Documentation

MODULE_AUTHOR ( "Gerald Schaefer"  )
MODULE_DESCRIPTION ( "Linux-VM Monitor  Stream,
MEMORY statistics"   
)
module_exit ( appldata_mem_exit  )
module_init ( appldata_mem_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

u64 bufferram

Definition at line 95 of file appldata_mem.c.

u64 cached

Definition at line 96 of file appldata_mem.c.

u64 freehigh

Definition at line 93 of file appldata_mem.c.

u64 freeram

Definition at line 91 of file appldata_mem.c.

u64 freeswap

Definition at line 98 of file appldata_mem.c.

u64 pgalloc

Definition at line 101 of file appldata_mem.c.

u64 pgfault

Definition at line 102 of file appldata_mem.c.

u64 pgmajfault

Definition at line 103 of file appldata_mem.c.

u64 pgpgin

Definition at line 83 of file appldata_mem.c.

u64 pgpgout

Definition at line 84 of file appldata_mem.c.

u64 pswpin

Definition at line 85 of file appldata_mem.c.

u64 pswpout

Definition at line 86 of file appldata_mem.c.

u64 sharedram

Definition at line 88 of file appldata_mem.c.

u32 sync_count_1

Definition at line 77 of file appldata_mem.c.

u32 sync_count_2

Definition at line 78 of file appldata_mem.c.

Definition at line 76 of file appldata_mem.c.

u64 totalhigh

Definition at line 92 of file appldata_mem.c.

u64 totalram

Definition at line 90 of file appldata_mem.c.

u64 totalswap

Definition at line 97 of file appldata_mem.c.