getStatisticTypes.cgi   - Summary Server Metrics 

[ Manual ] [ Discussion] [ Interface ] [ Results] [ TOC ] [Example]

Manual

Usage

Parameters

Discussion

getStatisticTypes.cgi returns the types of all available statistics on Internet performance metrics.  For each statistic, typeIndex, typeName, typeBitWidth, typeFormat, typeMin, typeMax, typeNullString and typeDesc are returned. typeIndex  is used by getStatistics.cgi.  The statistic name (typeName) is useful for presentation.  The minimum (typeMin) and maximum (typeMax) values are useful for scaling values for presentation.

Interface

The interface for getStatisticTypes.cgi is the standard HTTP GET request. There are two main parts to the GET request:
 
CGI URL <SSS root>/getStatisticTypes.cgi
Arguments [OUTPUT={TXT|HTML}]

Results

Upon making a HTTP GET request the application receives the following ASCII output:
 
IPPM # The string  "IPPM" is the start-of-data marker 
typeID_1|typeName_1|typeWidth_1|typeFormat_1|typeMin_1|typeMax_1|typeNullString_1|typeDescript_1|typeUnits_1  # Columns separate values
typeID_2|typeName_2|typeWidth_2|typeFormat_2|typeMin_2|typeMax_2|typeNullString_2|typeDescript_2|typeUnits_2 
... # Repeat for all n statistic types.
typeID_n|typeName_n|typeWidth_n|typeFormat_n|typeMin_n|typeMax_n|typeNullString_n|typeDescript_n|typeUnits_n  # the "nth" type
-1  #The string "-1" is the end-of-data marker 
Each line is terminated by a newline character ('\n').

typeID is a non-negative integer identifier
typeName is a short name for the type
typeWidth is the field width in bytes
typeFormat is a printf-style format string
typeMin is the minimum value that can be represented by the statistic
typeMax is the maximum value that can be represented by the statistic
typeNullString is the string used to indicate a null value
typeDescript is a longer description of the statistic type
typeUnits indicates the units in which data for the statistic is represented (e.g. "msec")

Examples

http://sss.advanced.org/perl/getStatisticTypes.cgi
http://sss.advanced.org/perl/getStatisticTypes.cgi?OUTPUT=HTML


Direct questions or comment to Ben Teitelbaum.