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 170 of file lininfo.h.


Field Documentation

char mem_info::total[2 *FIELD_SZ]

Total physical memory.

Definition at line 172 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::free[FIELD_SZ]

Free memory.

Definition at line 173 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::shared[FIELD_SZ]

Shared.

Definition at line 174 of file lininfo.h.

char mem_info::buffers[FIELD_SZ]

Kb used for buffers.

Definition at line 175 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::cached[FIELD_SZ]

Kb cached.

Definition at line 176 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 177 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 178 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 179 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 180 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 181 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::high_free[FIELD_SZ]

Free memory.

Definition at line 182 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 183 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 184 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 185 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 186 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 187 of file lininfo.h.

Referenced by get_mem_info(), and update_mem().

char mem_info::hugepages_free[FIELD_SZ]

Free hupages.

Definition at line 188 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 189 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 Tue Apr 1 22:52:58 2008 for lkmonitor by  doxygen 1.5.1