#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. |
Definition at line 60 of file lininfo.h.
|
Kb of active memory.
Definition at line 68 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Kb used for buffers.
Definition at line 65 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Kb cached.
Definition at line 66 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Kb of dirty memory.
Definition at line 70 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Free memory.
Definition at line 63 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Free memory.
Definition at line 72 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Total high memory.
Definition at line 71 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Free hupages.
Definition at line 78 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Size of each hupage.
Definition at line 79 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Number of hugepage.
Definition at line 77 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Kb of inactive memory.
Definition at line 69 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Free low memory.
Definition at line 74 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Total low memory.
Definition at line 73 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Shared.
|
|
Kb cached for swap memory.
Definition at line 67 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Kb free swap.
Definition at line 76 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Kb of swap.
Definition at line 75 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |
|
Total physical memory.
Definition at line 62 of file lininfo.h. Referenced by get_mem_info(), and update_mem(). |