📄 getswapinfo.h
字号:
#ifndef _SWAP_IO_INFO_H_#define _SWAP_IO_INFO_H_#include <sys/types.h>//swapio信息typedef struct{ unsigned long free; unsigned long buff; unsigned long cache; unsigned long si; //需要上报 unsigned long so; //需要上报 unsigned long bi; unsigned long bo; }SWAP_IO_Info;//读取swapio的信息extern int getswapioInfo(void); #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -