On 1 June 2012 08:42, Eitan Adler ead...@freebsd.org wrote:
Author: eadler
Date: Fri Jun 1 04:42:52 2012
New Revision: 236380
URL: http://svn.freebsd.org/changeset/base/236380
Log:
Add sysctl to query amount of swap space free
PR: kern/166780
Submitted by: Radim Kolar
On 01/06/2012, at 15:38, Sergey Kandaurov wrote:
Well, we already have more powerful vm.swap_info, so
I see no reason to add yet another one to do the same thing
(but now with a human interface).
Probably sysctl(8) should be enhanced to parse it instead.
There are already sysctls which have
On Fri, Jun 01, 2012 at 04:42:52AM +, Eitan Adler wrote:
Author: eadler
Date: Fri Jun 1 04:42:52 2012
New Revision: 236380
URL: http://svn.freebsd.org/changeset/base/236380
Log:
Add sysctl to query amount of swap space free
PR: kern/166780
Submitted by: Radim
On Fri, 1 Jun 2012, Sergey Kandaurov wrote:
On 1 June 2012 08:42, Eitan Adler ead...@freebsd.org wrote:
...
Log:
?Add sysctl to query amount of swap space free
?PR: ? ? ? ? ? kern/166780
?Submitted by: Radim Kolar h...@sendmail.cz
?Approved by: ?cperciva
?MFC after: ? ?1 week
Well, we
On 1 June 2012 05:14, Bruce Evans b...@optusnet.com.au wrote:
On 1 June 2012 08:42, Eitan Adler ead...@freebsd.org wrote:
...
I want to ack the replies to this commit. I'll either try to fix the
bugs mentioned here, or more likely revert the commit. Note that it
may take a few days for me to
On Fri, Jun 1, 2012 at 2:14 AM, Bruce Evans b...@optusnet.com.au wrote:
+SYSCTL_OID(_vm, OID_AUTO, swap_free,
CTLTYPE_INT|CTLFLAG_RD|CTLFLAG_MPSAFE,
+ NULL, 0, sysctl_vm_swap_free, Q,
+ Blocks of free swap storage.);
Bug 9 is a style bug. I didn't even know that
On Fri, 1 Jun 2012 m...@freebsd.org wrote:
On Fri, Jun 1, 2012 at 2:14 AM, Bruce Evans b...@optusnet.com.au wrote:
+SYSCTL_OID(_vm, OID_AUTO, swap_free,
CTLTYPE_INT|CTLFLAG_RD|CTLFLAG_MPSAFE,
+ ? ? ? ? ? ? ? NULL, 0, sysctl_vm_swap_free, Q,
+ ? ? ? ? ? ? ? Blocks of free swap storage.);
Bug
Author: eadler
Date: Fri Jun 1 04:42:52 2012
New Revision: 236380
URL: http://svn.freebsd.org/changeset/base/236380
Log:
Add sysctl to query amount of swap space free
PR: kern/166780
Submitted by: Radim Kolar h...@sendmail.cz
Approved by: cperciva
MFC after:1 week