Export nswapdev through sysctl(8).

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
des 2002-05-31 08:17:58 +00:00
parent 47dc6411c2
commit 9c9f8f4e5d

View File

@ -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");