Expand description
This crate uses raw FFI bindings to easily and quickly get and use the <sys/sysinfo.h> struct. Please read the README if you want to know more.
Internally, this crate calls unsafe {}
because of FFI. You, the programmer, are ultimately
responsible for any downtime in prod or similar
Structs§
Functions§
- collect
- A wrapper to C to get the sysinfo struct.
- sysinfo⚠
- The sysinfo struct. Should be the same as it is in C.
- try_
collect - A wrapper to C to get the sysinfo struct.