# Struct libc::sysinfo [−] [src]

    #[repr(C)]
    pub struct sysinfo {
        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 pad: c_ushort,
        pub totalhigh: c_ulong,
        pub freehigh: c_ulong,
        pub mem_unit: c_uint,
        pub _f: [c_char; 0],
    }

Unstable (`libc`)

: use `libc` from crates.io

## Fields

`uptime: c_long`
Unstable (`libc`)

: use `libc` from crates.io

`loads: [c_ulong; 3]`
Unstable (`libc`)

: use `libc` from crates.io

`totalram: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`freeram: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`sharedram: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`bufferram: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`totalswap: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`freeswap: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`procs: c_ushort`
Unstable (`libc`)

: use `libc` from crates.io

`pad: c_ushort`
Unstable (`libc`)

: use `libc` from crates.io

`totalhigh: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`freehigh: c_ulong`
Unstable (`libc`)

: use `libc` from crates.io

`mem_unit: c_uint`
Unstable (`libc`)

: use `libc` from crates.io

`_f: [c_char; 0]`
Unstable (`libc`)

: use `libc` from crates.io

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)