>>> On 6/25/2008 at 9:10 AM, in message <[EMAIL PROTECTED]>, LINDA DOBAI <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question concerning the /--type/ option when using the command > line in order to plugin metrics into Gmond. > > What is exactly the use of specified unit (such as > int8|uint8|int16|uint16|int32|uint32) , is it for storage purpose ? > > I also noticed that when declaring the /--type/ as int32 or float, the > metrics function identically. What is exactly the difference between > these types? > For example, the following command was accepted in spite of the fact > that 11.652 isn't integer : > /"/usr/bin/gmetric --name="sensor AMC-0 PWR 12V" --value=11.652 > --type=int32 --units="Volts" --spoof=172.30.16.129:STATION_B" > / >
It is mostly used for data conversion from one type to another. Especially between string and the original type when writing and reading the XML files. Brad ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

