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
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
vCenter
Cloud & SDDC
View Only
Community Home
Threads
Library
Events
Members
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
0
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
0
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
0
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