pub fn admin_reserve_kbytes() -> ProcResult<usize>
Expand description

The amount of free memory in the system that should be reserved for users with the capability cap_sys_admin.

Example

use procfs::sys::vm::admin_reserve_kbytes;

assert_ne!(admin_reserve_kbytes().unwrap(), 0);