$JpStatL: Difference between revisions
Jump to navigation
Jump to search
m (→Error codes: add code) |
|||
Line 36: | Line 36: | ||
-12 — Invalid parameter in <var class="term">stat_list</var>. | -12 — Invalid parameter in <var class="term">stat_list</var>. | ||
-13 — STAT not linked in. | -13 — STAT not linked in. | ||
-17 — No Janus port active. | |||
</p> | </p> | ||
Revision as of 03:03, 27 July 2018
Retrieve statistics for set of Janus ports into $list
Syntax
%result = $JpStatL(list_identifier, stat_list)
Syntax terms
%result | Either a positive number, which is the milliseconds since the Online was brought up, or a negative error code. | ||||||
---|---|---|---|---|---|---|---|
list_identifier | The identifier of the $list to receive the results. The current contents of the $list are deleted and replaced with the requested statistics. The format of each $list item is:
| ||||||
stat_list | A string of blank delimited words indicating the statistics to be returned. The length of each returned statistic is always a multiple of four bytes. This facilitates the use of $StatLD with the returned $list. For more information about available statistics, see SirMon Janus Monitor menu. |
Error codes
-3 — CCATEMP is full -5 — Required parameter not specified. -6 — Invalid $list identifier. -12 — Invalid parameter in stat_list. -13 — STAT not linked in. -17 — No Janus port active.