#[non_exhaustive]#[repr(C)]pub struct Sysinfo {Show 14 fields
    pub uptime: c_long,
    pub loads: [c_ulong; 3],
    pub totalram: c_ulong,
    pub freeram: c_ulong,
    pub sharedram: c_ulong,
    pub bufferram: c_ulong,
    pub totalswap: c_ulong,
    pub freeswap: c_ulong,
    pub procs: c_ushort,
    pub(crate) pad: c_ushort,
    pub totalhigh: c_ulong,
    pub freehigh: c_ulong,
    pub mem_unit: c_uint,
    pub(crate) f: [u8; 0],
}Expand description
sysinfo
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uptime: c_longSeconds since boot
loads: [c_ulong; 3]1, 5, and 15 minute load averages
totalram: c_ulongTotal usable main memory size
freeram: c_ulongAvailable memory size
Amount of shared memory
bufferram: c_ulongMemory used by buffers
totalswap: c_ulongTotal swap space size
freeswap: c_ulongSwap space still available
procs: c_ushortNumber of current processes
pad: c_ushort§totalhigh: c_ulongTotal high memory size
freehigh: c_ulongAvailable high memory size
mem_unit: c_uintMemory unit size in bytes
f: [u8; 0]Auto Trait Implementations§
impl Freeze for Sysinfo
impl RefUnwindSafe for Sysinfo
impl Send for Sysinfo
impl Sync for Sysinfo
impl Unpin for Sysinfo
impl UnwindSafe for Sysinfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more