linux内核中得到内存的使用情况si_meminfo

struct sysinfo {
long uptime; / Seconds since boot /
unsigned long loads[3]; / 1, 5, and 15 minute load averages /
unsigned long totalram; / Total usable main memory size /
unsigned long freeram; / Available memory size /
unsigned long sharedram; / Amount of shared memory /
unsigned long bufferram; / Memory used by buffers /
unsigned long totalswap; / Total swap space size /
unsigned long freeswap; / swap space still available /
unsigned short procs; / Number of current processes /
unsigned short pad; / explicit padding for m68k /
unsigned long totalhigh; / Total high memory size /
unsigned long freehigh; / Available high memory size /
unsigned int mem_unit; / Memory unit size in bytes /
char _f[20-2sizeof(long)-sizeof(int)]; / Padding: libc5 uses this.. */
};

创新互联主要从事做网站、成都网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务长丰,10年网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108

si_meminfo(struct sysinfo *val)


当前题目:linux内核中得到内存的使用情况si_meminfo
网页网址:http://scyanting.com/article/iieohg.html