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.. */
};

创新互联专注于湟源企业网站建设,响应式网站建设,电子商务商城网站建设。湟源网站建设公司,为湟源等地区提供建站服务。全流程按需定制,专业设计,全程项目跟踪,创新互联专业和态度为您提供的服务

si_meminfo(struct sysinfo *val)

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前文章:linux内核中得到内存的使用情况si_meminfo-创新互联
当前链接:http://pwwzsj.com/article/jsdsj.html