Main Page | Data Structures | File List | Data Fields | Globals

mem_info Struct Reference

Contains memory data and statistics. Contains fields for total, free and other interesting information. More...

#include <lininfo.h>


Data Fields

char total [FIELD_SZ]
 Total physical memory.
char free [FIELD_SZ]
 Free memory.
char shared [FIELD_SZ]
 Shared.
char buffers [FIELD_SZ]
 Kb used for buffers.
char cached [FIELD_SZ]
 Kb cached.
char swap_cached [FIELD_SZ]
 Kb cached for swap memory.
char active [FIELD_SZ]
 Kb of active memory.
char inactive [FIELD_SZ]
 Kb of inactive memory.
char dirty [FIELD_SZ]
 Kb of dirty memory.
char high_total [FIELD_SZ]
 Total high memory.
char high_free [FIELD_SZ]
 Free memory.
char low_total [FIELD_SZ]
 Total low memory.
char low_free [FIELD_SZ]
 Free low memory.
char swap_total [FIELD_SZ]
 Kb of swap.
char swap_free [FIELD_SZ]
 Kb free swap.
char hugepages_total [FIELD_SZ]
 Number of hugepage.
char hugepages_free [FIELD_SZ]
 Free hupages.
char hugepages_size [FIELD_SZ]
 Size of each hupage.


Detailed Description

Contains memory data and statistics. Contains fields for total, free and other interesting information.

Definition at line 60 of file lininfo.h.


Field Documentation

char mem_info::active[FIELD_SZ]
 

Kb of active memory.

Definition at line 68 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::buffers[FIELD_SZ]
 

Kb used for buffers.

Definition at line 65 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::cached[FIELD_SZ]
 

Kb cached.

Definition at line 66 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::dirty[FIELD_SZ]
 

Kb of dirty memory.

Definition at line 70 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::free[FIELD_SZ]
 

Free memory.

Definition at line 63 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::high_free[FIELD_SZ]
 

Free memory.

Definition at line 72 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::high_total[FIELD_SZ]
 

Total high memory.

Definition at line 71 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::hugepages_free[FIELD_SZ]
 

Free hupages.

Definition at line 78 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::hugepages_size[FIELD_SZ]
 

Size of each hupage.

Definition at line 79 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::hugepages_total[FIELD_SZ]
 

Number of hugepage.

Definition at line 77 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::inactive[FIELD_SZ]
 

Kb of inactive memory.

Definition at line 69 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::low_free[FIELD_SZ]
 

Free low memory.

Definition at line 74 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::low_total[FIELD_SZ]
 

Total low memory.

Definition at line 73 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::shared[FIELD_SZ]
 

Shared.

Definition at line 64 of file lininfo.h.

char mem_info::swap_cached[FIELD_SZ]
 

Kb cached for swap memory.

Definition at line 67 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::swap_free[FIELD_SZ]
 

Kb free swap.

Definition at line 76 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::swap_total[FIELD_SZ]
 

Kb of swap.

Definition at line 75 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::total[FIELD_SZ]
 

Total physical memory.

Definition at line 62 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 15 11:24:02 2006 for lkmonitor by  doxygen 1.3.9.1