]>
Commit | Line | Data |
---|---|---|
d8e5ddef PA |
1 | #ifndef _LINUX_SYSINFO_H |
2 | #define _LINUX_SYSINFO_H | |
3 | ||
4 | #define SI_LOAD_SHIFT 16 | |
5 | struct sysinfo { | |
6 | long uptime; /* Seconds since boot */ | |
7 | unsigned long loads[3]; /* 1, 5, and 15 minute load averages */ | |
8 | unsigned long totalram; /* Total usable main memory size */ | |
9 | unsigned long freeram; /* Available memory size */ | |
10 | unsigned long sharedram; /* Amount of shared memory */ | |
11 | unsigned long bufferram; /* Memory used by buffers */ | |
12 | unsigned long totalswap; /* Total swap space size */ | |
13 | unsigned long freeswap; /* swap space still available */ | |
14 | unsigned short procs; /* Number of current processes */ | |
15 | unsigned short pad; /* explicit padding for m68k */ | |
16 | unsigned long totalhigh; /* Total high memory size */ | |
17 | unsigned long freehigh; /* Available high memory size */ | |
18 | unsigned int mem_unit; /* Memory unit size in bytes */ | |
19 | char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */ | |
20 | }; | |
21 | ||
22 | #endif /* _LINUX_SYSINFO_H */ |