Pointer to a sysinfo structure which will receive the return information:
struc sysinfo
{
.uptime rd 1
.loads rd 3
.totalram rd 1
.freeram rd 1
.sharedram rd 1
.bufferram rd 1
.totalswap rd 1
.freeswap rd 1
.procs rw 1
.pad rw 1
.totalhigh rd 1
.freehigh rd 1
.mem_unit rd 1
._f rb 8
} |
sysinfo members:
uptime
Seconds since boot.
loads
1, 5, and 15 minute load averages.
totalram
Total usable main memory size.
freeram
Available memory size.
sharedram
Amount of shared memory.
bufferram
Memory used by buffers.
totalswap
Total swap space size.
freeswap
swap space still available.
procs
Number of current processes.
pad
explicit padding for m68k.
totalhigh
Total high memory size.
mem_unit
Memory unit size in bytes.
_f
Padding.
All sizes are given as multiples of mem_unit bytes. |