#[repr(C)]pub struct linux_sysinfo {Show 14 fields
    pub uptime: c_long,
    pub loads: [linux___kernel_ulong_t; 3],
    pub totalram: linux___kernel_ulong_t,
    pub freeram: linux___kernel_ulong_t,
    pub sharedram: linux___kernel_ulong_t,
    pub bufferram: linux___kernel_ulong_t,
    pub totalswap: linux___kernel_ulong_t,
    pub freeswap: linux___kernel_ulong_t,
    pub procs: c_ushort,
    pub pad: c_ushort,
    pub totalhigh: linux___kernel_ulong_t,
    pub freehigh: linux___kernel_ulong_t,
    pub mem_unit: c_uint,
    pub l_f: [c_char; 0],
}Fields§
§uptime: c_longSeconds since boot
loads: [linux___kernel_ulong_t; 3]1, 5, and 15 minute load averages
totalram: linux___kernel_ulong_tTotal usable main memory size
freeram: linux___kernel_ulong_tAvailable memory size
Amount of shared memory
bufferram: linux___kernel_ulong_tMemory used by buffers
totalswap: linux___kernel_ulong_tTotal swap space size
freeswap: linux___kernel_ulong_tswap space still available
procs: c_ushortNumber of current processes
pad: c_ushortExplicit padding for m68k
totalhigh: linux___kernel_ulong_tTotal high memory size
freehigh: linux___kernel_ulong_tAvailable high memory size
mem_unit: c_uintMemory unit size in bytes
l_f: [c_char; 0]Padding: libc5 uses this..
Trait Implementations§
Source§impl Clone for linux_sysinfo
 
impl Clone for linux_sysinfo
Source§fn clone(&self) -> linux_sysinfo
 
fn clone(&self) -> linux_sysinfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for linux_sysinfo
 
impl Debug for linux_sysinfo
impl Copy for linux_sysinfo
Auto Trait Implementations§
impl Freeze for linux_sysinfo
impl RefUnwindSafe for linux_sysinfo
impl Send for linux_sysinfo
impl Sync for linux_sysinfo
impl Unpin for linux_sysinfo
impl UnwindSafe for linux_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