memory.h
来自「开发snmp的开发包有两个开放的SNMP开发库」· C头文件 代码 · 共 40 行
H
40 行
typedef struct netsnmp_memory_info_s netsnmp_memory_info;#define NETSNMP_MEM_TYPE_PHYSMEM 1#define NETSNMP_MEM_TYPE_USERMEM 2#define NETSNMP_MEM_TYPE_VIRTMEM 3#define NETSNMP_MEM_TYPE_STEXT 4#define NETSNMP_MEM_TYPE_RTEXT 5#define NETSNMP_MEM_TYPE_MBUF 6#define NETSNMP_MEM_TYPE_CACHED 7#define NETSNMP_MEM_TYPE_SHARED 8#define NETSNMP_MEM_TYPE_SHARED2 9#define NETSNMP_MEM_TYPE_SWAP 10 /* Leave space for individual swap devices */#define NETSNMP_MEM_TYPE_MAX 30struct netsnmp_memory_info_s { int idx; int type; char *descr; long units; long size; long free; long other; netsnmp_memory_info *next;}; /* * Possibly not all needed ?? */netsnmp_memory_info *netsnmp_memory_get_first( int );netsnmp_memory_info *netsnmp_memory_get_next( netsnmp_memory_info*, int );netsnmp_memory_info *netsnmp_memory_get_byIdx( int, int );netsnmp_memory_info *netsnmp_memory_get_next_byIdx(int,int );netsnmp_cache *netsnmp_memory_get_cache( void );int netsnmp_memory_load( void );
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?