• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _LINUX_SYSINFO_H
7 #define _LINUX_SYSINFO_H
8 #include <linux/types.h>
9 #define SI_LOAD_SHIFT	16
10 struct sysinfo {
11 	__kernel_long_t uptime;
12 	__kernel_ulong_t loads[3];
13 	__kernel_ulong_t totalram;
14 	__kernel_ulong_t freeram;
15 	__kernel_ulong_t sharedram;
16 	__kernel_ulong_t bufferram;
17 	__kernel_ulong_t totalswap;
18 	__kernel_ulong_t freeswap;
19 	__u16 procs;
20 	__u16 pad;
21 	__kernel_ulong_t totalhigh;
22 	__kernel_ulong_t freehigh;
23 	__u32 mem_unit;
24 	char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)];
25 };
26 #endif
27