Export nswapdev through sysctl(8).

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Dag-Erling Smørgrav 2002-05-31 08:17:58 +00:00
parent 09d225d8c3
commit 8dcfdf3f80

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