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

Virtual bytes on Windows platform #54

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

Virtual bytes on Windows platform #54

giampaolo opened this issue May 23, 2014 · 4 comments

Comments

@giampaolo
Copy link
Owner

From the1h...@gmail.com on June 10, 2009 18:02:20

Enhancement
1. Is it possible to get the virtual bytes counter as well. 

What is the expected output?  


What do you see instead?  
It looks like psutil returns process.workingset and process.privatebytes
from based on perfmon output which represent mem_usage and vmsize. What version 
of psutil are you using? On what operating system? .12 Please provide any additional information below.

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

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on June 10, 2009 11:43:04

I'm not really clear on what you're requesting here. It sounds like you're referring
to this in terms of perfmon counters. The information psutil retrieves comes from  

    GlobalMemoryStatusEx() - 
http://msdn.microsoft.com/en-us/library/aa366589.aspx and the MEMORYSTATUSEX 
structure - http://msdn.microsoft.com/en-us/library/aa366770(VS.85).aspx as 
opposed to reading from WMI/perfmon counters as you may be used to from some other
sources. If you can clarify what it is that you're looking for it's possible we can
expose more of the information from the above structure in psutil.

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on June 10, 2009 11:49:35

Just to clarify what the values are in psutil... 

total_virtmem from psutil on Windows refers to: 

*ullTotalPageFile*
    The current committed memory limit for the system or the current process,
whichever is smaller, in bytes.

avail_virtmem from psutil on Windows refers to: 

*ullAvailPageFile*
    The maximum amount of memory the current process can commit, in bytes. This value
is equal to or smaller than the system-wide available commit value.

@giampaolo
Copy link
Owner Author

From jlo...@gmail.com on September 03, 2009 21:37:51

Without more details to go on I vote that we close this issue out since I don't know
what direction we can take with this enhancement. We can revisit if it comes up again
or we receive more details from the original submitter.

@giampaolo
Copy link
Owner Author

From billiej...@gmail.com on September 17, 2009 01:58:49

Status: Invalid

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