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 [2 *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 [2 *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 118 of file lininfo.h.


Field Documentation

char mem_info::total[2 *FIELD_SZ]

Total physical memory.

Definition at line 120 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::free[FIELD_SZ]

Free memory.

Definition at line 121 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::shared[FIELD_SZ]

Shared.

Definition at line 122 of file lininfo.h.

char mem_info::buffers[FIELD_SZ]

Kb used for buffers.

Definition at line 123 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::cached[FIELD_SZ]

Kb cached.

Definition at line 124 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::swap_cached[FIELD_SZ]

Kb cached for swap memory.

Definition at line 125 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::active[FIELD_SZ]

Kb of active memory.

Definition at line 126 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 127 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 128 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 129 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::high_free[FIELD_SZ]

Free memory.

Definition at line 130 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::low_total[2 *FIELD_SZ]

Total low memory.

Definition at line 131 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 132 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 133 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 134 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 135 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::hugepages_free[FIELD_SZ]

Free hupages.

Definition at line 136 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 137 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 Sat Dec 2 11:27:53 2006 for lkmonitor by  doxygen 1.5.1