Export nswapdev through sysctl(8).
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
47dc6411c2
commit
9c9f8f4e5d
@ -377,5 +377,7 @@ sysctl_vm_swap_info(SYSCTL_HANDLER_ARGS)
|
||||
return (ENOENT);
|
||||
}
|
||||
|
||||
SYSCTL_INT(_vm, OID_AUTO, nswapdev, CTLFLAG_RD, &nswdev, 0,
|
||||
"Number of swap devices");
|
||||
SYSCTL_NODE(_vm, OID_AUTO, swap_info, CTLFLAG_RD, sysctl_vm_swap_info,
|
||||
"Swap statistics by device");
|
||||
|
Loading…
Reference in New Issue
Block a user