hi. i'm monitoring data from wmi_process and all work fine, but it returns me "1.3 M" when i know the data is 50253824 bytes. i put 1024 to postprocessing i know... but if i leave it blank it shows me "1.2 K". is it right? or i'm going something wrong?
wmi data monitoring.
suzdal · 19 feb 2009, 8:13 · 5 mensajes · 58 visitas
- Inicio del debate
Hi Suzdal, I have a similar problem too. I noticed that pandora puts K, M and G to round the numbers for 1000, 1000000 and 1000000000. I have problems with this to show the correct amount of memory use in some systems (or when working with bytes, Mb, etc). I noticed that pandora have problems when the numbers are very big too. I'm using a post-script value of: 976,56 to show the correct (or almost) amount of data in MB... By the way, you need to divide the value in post script. For this, try to use (1/1024) 0,00097656 or 976,56 and see what happens. Regards.
hi, daniels. this don't work, say the same number but now in plain format not Kb or Mb just 1.2. i'll keep in mind to work on it, but WMI is a good whole tool, but now is dificult to take all profit it can give. SELECT * FROM Win32_Process where Caption="Mcshield.exe" Select * from RegistryValueChangeEvent where hive="HKEY_LOCAL_MACHINE" first should give a lot of data about the process. secnd should give information about changes on registry hive. for me this is a negative point, i think that an improve on this will result in a very good utility to monitoring windows systems, but for now is a secondary tool.
Are you sure that WMI is not returning a bad value, that the key you are using for WorkingSetSize is returning 50253824 ? But if you're using plain 2.0 version, a fix was released about one or two months ago about the unit render. It's on /branches code in the SVN. In the next week we will probably release a maintenance version (2.1) with a lot of fixes respect 2.0.0 version. Thats for your comments!
Hi. No, i'm sure that i'm right. i found the error and it is a bug or i think so. if u put SELECT WorkingSetSize FROM CIM_Process where Caption="Mcshield.exe" the result is 1.4 and if u put SELECT * FROM CIM_Process where Caption="Mcshield.exe" the result is Mcshield.exe but if u put in "Field Number" box the number of row result is ok, 38.7 M (this is right). i say bug, because in spanish translation say "Número de fila que obtener desde el resultado de la consulta WQL (empezando desde cero). " as a popup for "Field Number" when the right translation for "Row number to retrieve from the WQL query result (starting from zero)" should be "Número de columna a obtener del resultado de la consulta WQL (empezando desde cero). ". translation should be corrected because say "fila" as "row" when is "columna". may be other translations should be review. i still with it, because not all at queries work fine, as i say, SELECT WorkingSetSize FROM CIM_Process where Caption="Mcshield.exe" don't show the right field. regards.
Entra en tu cuenta para publicar.
