[issue1805] sysctl needed for taking swap statistics

Carlos Olmedo Escobar (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Tue Aug 17 06:37:11 PDT 2010


New submission from Carlos Olmedo Escobar <carlos.olmedo.e at gmail.com>:

I'm developing a library and I need to take the total/free swap space from a
sysctl() call (i can use kvm but in this case my lib will need the suid bit).
This kind of call already exists on FreeBSD (vm.swap_info plus struct xswdev).
Also in Open/NetBSD.

----------
messages: 8786
nosy: Hazel
priority: feature
status: unread
title: sysctl needed for taking swap statistics

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1805>
_____________________________________________________






More information about the Bugs mailing list