I am running Hyperic SIGAR through java on window 2012 r2. Using the Swap sigar API (http://cpansearch.perl.org/src/DOUGM/hyperic-sigar-1.6.3-src/docs/javadoc/org/hyperic/sigar/Swap.html), I am able to get the following: swap total = 5032562688, swap used = 1541095424 and swap free = 3491467264. This shows that the current swap usage is ~30%. However, checking the swap usage on Window using the counter Paging File -> % Usage in Performance Monitor as described here https://serverfault.com/questions/399855/how-much-swap-is-being-used-on-windows shows that swap usage is 0%. (% Usage Peak is also 0%). Swap usage of 0% seems to be more correct as the window server is not under much load at all. Anyone knows why SIGAR reports different / incorrect value?
Hyperic SIGAR report different swap usage on window 2012 r2
183 Views Asked by Maytas Monsereenusorn At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in MEMORY
- 9 Digit Addresses in Hexadecimal System in MacOS
- Memory location changing from 0 to 1 consistently on Mac
- Would event listeners prevent garbage collecting objects referenced in outer function scopes?
- tensorrt inference problem: CPU memory leak
- How to estimate the memory size of a binary voxelized geometry?
- Java Memory UTF-16 Vs UTF-8
- Spring Boot application container memory footprint (Java 21)
- Low memory Windows CE
- How to throw an error when a program acesses a block of memory created by you that has been deallocated by a call of free?
- Golang bufio.Scanner: token too long
- Get the address and size of a loaded shared object on memory from C
- In Redis Databases how do we need to calculate the table size
- ClickHouse Materialized View consuming a lot of Memory and CPU
- How to reduce memory usage for large matrix calculations?
- How to use memray with Gunicorn or flask dev server?
Related Questions in WINDOW
- Pycharm doesn't show "executable_path" and I got this error and no idea what to do
- Join statement with nested select
- Are there any tools or NuGet packages available for C# (Windows Forms) that assist in visualizing Dijkstra's algorithm?
- paho mqtt java cannot reconnect after a long time machine sleep
- An issue where memory peaks abnormally and then normalizes again
- Writing large buffer data to a file using Windows API
- Pyspark Cummularive Sum Window Date and Sequence Number
- Get value from new popup window by clicking on an element using Jquery
- How will create the updater & repair window's in NSIS using NULL SCRIPT
- window.localStorage function not working on API Routing NextJS
- Is there any way to make tkinter window dismiss Win + D command?
- How to get JSON data from an external window in javaScript(different domains)
- Overriding the default export button click event in crystal report viewer Print UI fdialog
- Is there a way using JavaScript to open a new window in another monitor?
- Unable docker desktop with Window 10 Pro
Related Questions in SIGAR
- how to configur sigar with libsigar-x86-linux.so automatically in maven project
- Measure disk write/read speed using java
- How to get internet speed and CPU temperatures in java
- "no sigar-x86-winnt.dll in java.library.path" error when using Hyperic SIGAR on multi language OS
- How do you get CPU ID or serial number using Hyperic Sigar?
- How to build and use Sigar for C/C++?
- How to get disk performance info?
- how to install sigar api to java maven corretto program
- Problems using Sigar with Maven2
- running C script (.h) in linux
- Collect CPU info of the server using SIGAR
- How to run SIGAR API using perl?
- Any C API or Perl Module to get the system info?
- Is there any way I can change process name from ksh in Linux/AIX?
- Get a list of disks to read free space in Java, using Sigar
Related Questions in HYPERIC
- How do you configure a Puppet exec to execute another command as part of onlyif
- Hyperic SIGAR report different swap usage on window 2012 r2
- Hyperic HQ add properties to hq-server.conf
- Hyperic HQ 4.6.6 server is configured to run on wrong domain name
- Hyperic Sigar API - not working in runnable jar file
- How do I automate the installation of hyperic with Puppet?
- Solaris svcs command shows wrong status
- Hyperic HQ Api getting an agent
- My perl script needs to wait until the another script finishes its job
- Sigar 1.6.4 is crashing: EXCEPTION_ACCESS_VIOLATION
- How do you get CPU ID or serial number using Hyperic Sigar?
- Hyperic HQ 5.0 Server is not running
- Hyperic 5.0 exporting custom MBeans in JBoss
- hyperic jmx monitoring: plugin does not exist in HQ
- Hyperic Sigar Mac Osx Error -No Library
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Sigar is reporting swap using:
ullTotalPageFile -> Swap Total
ullAvailPageFile -> Swap Free
ullTotalPageFile - ullAvailPageFile -> Swap Used
http://msdn.microsoft.com/en-us/library/aa366770(VS.85).aspx
WMI is reporting swap using:
swapTotal -> SizeStoredInPagingFiles (Total number of kilobytes that can be stored in the operating system paging files—0 (zero) indicates that there are no paging files. Be aware that this number does not represent the actual physical size of the paging file on disk.)
swapFree -> FreeSpaceInPagingFiles (Number, in kilobytes, that can be mapped into the operating system paging files without causing any other pages to be swapped out.) https://msdn.microsoft.com/en-us/library/aa394239(v=vs.85).aspx
Problem from this is that: It looks to me that what Windows is returning to Sigar with ullTotalPageFile is a combination of all virtual and physical memory--not just virtual memory as is implied in a "Total Page File" metric. (https://communities.vmware.com/thread/354362)
In more details: Due to the way Windows API functions report memory metrics, it is impossible to accurately retrieve swap (virtual memory) sizes as Windows reports the total commit memory which is physical memory plus swap file sizes. The only resolution that could be applied was calculatively deducting the swap sizes knowing the page and physical memory sizes.