Linux Kernel
3.7.1
|
#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") | |
#define P2K | ( | x | ) | ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ |
Definition at line 21 of file appldata_mem.c.
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" | ) |
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.