WMI value

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

WMI value

Post by Kris »

Hi,

I'm running the following query on one of our servers to get average latency:
select AvgDiskSecPerTransfer from Win32_PerfFormattedData_PerfDisk_PhysicalDisk where Name = '1 D:'

In windows perfmon it shows values somewhere between 0,000 and 0,025, which is to be expected.

However, in HM it just shows 0.

Am I doing something wrong here?

Thanks!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are trying to compare results from two different sources:
WMI and Performance counters
You may setup "Performance counter" test (instead of WMI) and select same performance counter like in Windows perfmon.
E.g.

Code: Select all

\PhysicalDisk(1 D:)\Avg. Disk sec/Transfer
Why WMI and Perfmon givers different data?
Sorry we don't know. May be WMI returns only integer values.
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Thanks!

Looks promising.
However, the performance counter only returns a 2-decimal value.
Is that all there is, or can I somehow get the 3-decimal value?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We can implement this option in next version

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Can't wait :D
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you are using version 9.58, there is update at www.ks-soft.net/download/hm959.zip
Unzip files and replace hostmon.exe, rcc.exe and webservice.exe modules then add DigitsAfterDotStat=3 line into [Environ] section of hostmon.ini file and start HostMonitor.

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Lovely! Works a treat! 8)

Thanks!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply