Visual Basic Development Bookmark and Share   
 Home > Visual Basic General > Get the Private Working Set of a process
 

Get the Private Working Set of a process

I want to get the Private Working Set of a process (as it shows in task manager), using the Process Class.

I'm able to get the working set /1024, but this number does not match the number I am looking for. Is the Process class capable of doing this?
Mods - Please do not mark my posts as answered. It is extremely rude. You have no idea if you've answered my question. I WILL come back and mark the ones that are answers, as answers.
BLeg  Monday, November 30, 2009 4:44 PM
WorkingSet64 is equivalent to Private Working set (in taskmanager)of the process

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.workingset64.aspx
Gaurav Khanna
  • Marked As Answer byBLeg 14 hours 46 minutes ago
  •  
Khanna Gaurav  Monday, November 30, 2009 6:31 PM
WorkingSet64 is equivalent to Private Working set (in taskmanager)of the process

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.workingset64.aspx
Gaurav Khanna
  • Marked As Answer byBLeg 14 hours 46 minutes ago
  •  
Khanna Gaurav  Monday, November 30, 2009 6:31 PM
Is this true for all versions of Windows?

I've checked and verified that they are not on my Win7 system as well as a colleagues Vista machine. They are the same in XP Pro.
Mods - Please do not mark my posts as answered. It is extremely rude. You have no idea if you've answered my question. I WILL come back and mark the ones that are answers, as answers.
BLeg  Monday, November 30, 2009 9:30 PM
According to MSDN (link in my previous article),this property should work on every Windows versions exceptWindows 98 or Windows Millennium Edition (Windows Me).


Gaurav Khanna
Khanna Gaurav  Tuesday, December 01, 2009 5:42 AM
Yes, that is correct. What I was saying is that the property doesn't represent the Private Working Set on Windows 7 and Vista, but it does on XP. It just so happens that I need to use it on an XP machine anyway, so this solves the problem. Thank you.


Mods - Please do not mark my posts as answered. It is extremely rude. You have no idea if you've answered my question. I WILL come back and mark the ones that are answers, as answers.
BLeg  14 hours 46 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• Upgrading VB6 to VB .Net 2005 is best?
• How to acesss data from Ms-Acess and oracle
• tableadapter.insert
• Downloading all files in a folder from an FTP server!!
• SetFilePointer win32
• Read data (double) from comma seperated file (csv) to an array
• Different "Path is not of a legal form" error
• how to create multicast/broadcast applications
• How to generate the Latitude and Longitude values from The HDR file.
• DataGrid Combobox VB.net 2005