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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.