Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Home
Communities
All Communities
Application Networking and Security
Carbon Black
Enterprise Software
Mainframe Software
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
VMware Explore 2025
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware Cloud Foundation Events
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
VMware vSphere
View Only
Community Home
Threads
703K
Library
2.7K
Blogs
0
Events
0
Members
100K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
swap used in windows
djinn_fr
Aug 20, 2007 05:22 PM
Can somebody tell me how is calculated "swap used" in Windows or at least where to look in the source ...
admin
Aug 20, 2007 05:57 PM
The swap used metric is gathered using SIGAR. http://support.hyperic.com/confluence/display/SIGAR/Home ...
djinn_fr
Aug 20, 2007 07:05 PM
Thanks for your answer. Looking at win32_sigar.c, I can see: swap->total = memstat.ullTotalPageFile; ...
1.
swap used in windows
Recommend
djinn_fr
Posted Aug 20, 2007 05:22 PM
Reply
Reply Privately
Options Dropdown
Can somebody tell me how is calculated "swap used" in Windows or at least where to look in the source code.
Thanks
2.
RE: swap used in windows
Recommend
admin
Posted Aug 20, 2007 05:57 PM
Reply
Reply Privately
Options Dropdown
The swap used metric is gathered using SIGAR.
http://support.hyperic.com/confluence/display/SIGAR/Home
I believe the swap metric is just a counter in the PDH. See win32_sigar.c in the SIGAR source code for the details.
-Ryan
3.
RE: swap used in windows
Recommend
djinn_fr
Posted Aug 20, 2007 07:05 PM
Reply
Reply Privately
Options Dropdown
Thanks for your answer.
Looking at win32_sigar.c, I can see:
swap->total = memstat.ullTotalPageFile;
swap->free = memstat.ullAvailPageFile;
and swap used:
swap->used = swap->total - swap->free;
So basically in Windows, swap used is the number of TotalPageFile - AvailPageFile.
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic