NetXMS Support Forum

Development => General => Topic started by: moseszero on February 16, 2012, 04:58:09 AM

Title: the way of how DiskQueue in NetXMS worked out
Post by: moseszero on February 16, 2012, 04:58:09 AM
HI,
I use shell to view the real time info of IO,but the data about diskqueue seems  different from that fetched by NetXMS,actually the real time data is much smaller.So I'm confused if the way of calculation about diskqueue in NetXMS is specical??
Title: Re: the way of how DiskQueue in NetXMS worked out
Post by: x199x on February 16, 2012, 09:33:53 AM
hi:
I see the code to get the "System.IO.DiskQueue":
In linux,it get the data from /proc/diskstats and calculate it. But the finally value is far different from the value  that I get with the "iostat" command
In windows,it get the finally value by directly read the data (may be with existing file or api ,) I get the finally in picture below!

in all, the "System.IO.DiskQueue" in Netxms 1.1.6 is different from the  "DiskQueue" in windows and linux, It  may be some "concept" discrimination.

I want to know, the indicator value of "System.IO.DiskQueue"(It mean, in which number range represent the I/O is normal,in wihch number range represent unnormal )

Thanks!