9 #define SI_LOAD_SHIFT 16
12 unsigned long long uptime;
13 unsigned long loads[3];
15 unsigned long long totalram;
16 unsigned long long freeram;
17 unsigned long long sharedram;
18 unsigned long long bufferram;
19 unsigned long long totalswap;
20 unsigned long long freeswap;
21 unsigned long long totalhigh;
22 unsigned long long freehigh;
23 unsigned long mem_unit;
27 int sysinfo (struct sysinfo *);
28 int get_nprocs_conf (void);
29 int get_nprocs (void);
30 long long get_phys_pages (void);
31 long long get_avphys_pages (void);