kvm_getswapinfo equivalent sysctl

Hi,

I need to be able to get the number of free swap bytes from a java program. I can execute sysctl but can't find the correct variable with free or used swap space. I see only total swap space.

Does anybody know which sysctl it is?
 
Back
Top