Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FreeBSD) make psutil.virtmem_usage() actually return info about swap usage #308

Closed
giampaolo opened this issue May 23, 2014 · 2 comments
Closed

Comments

@giampaolo
Copy link
Owner

From g.rodola on July 19, 2012 15:06:46

From the doc:

> [...] on FreeBSD they represent the same values as returned
> by sysctl vm.vmtotal

...hence we're returning info about virtual memory, which is fine, given the 
function name.
Given we're about to rename virtmem_usage() to swapmem_usage() ( issue 256 ) we 
now have the chance to return actual swap memory information, which can be 
determinaed by using kvm_getswapinfo().

This somewhat breaks compatibility as we're now returning a totally different 
kind of information but the usefulness of the previous one was doubtful anyway.

Committed in r1475 .

Original issue: http://code.google.com/p/psutil/issues/detail?id=308

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on August 13, 2012 09:25:14

Fixed in version 0.6.0, released just now.

Status: Fixed
Labels: -Milestone-1.0.0 Milestone-0.6.0

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:11:31

Updated csets after the SVN -> Mercurial migration: r1475 == revision 
f02fc33484cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant