Contains system information.
#include <linux/kernel.h>
struct sysinfo
{
long uptime;
unsigned long loads[3];
unsigned long totalram;
unsigned long freeram;
unsigned long sharedram;
unsigned long bufferram;
unsigned long totalswap;
unsigned long freeswap;
unsigned long totalhigh;
unsigned long freehigh;
unsigned int mem_unit;
unsigned short procs;
char _f[sizeof(short)+2*sizeof(long)];
};
Specifies the number of seconds since the last boot.
Specifies the load averages for 1, 5, and 15 minute intervals. On NetWare, always returns 0.
Specifies total amount of usable memory.
Specifies the amount of memory that is currently available for allocation. On NetWare, always returns 0.
Specifies amount of shared memory. On NetWare, always returns 0
Specifies the amount of memory in use by cache buffers.
Specifies the amount of swap space that is available. On NetWare, always returns 0.
Specifies the total amount of high memory. Returns 0 if there is no extented memory manager.
Specifies the amount of high memory that is currently available. Returns 0 if there is no extented memory manager.
Specifies in bytes the size of the memory unit.
Specifies the number of current POSIX processes on the machine.
Padding.