$Stat

From m204wiki
Revision as of 22:53, 25 January 2016 by JAL (talk | contribs) (add link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The $Stat function returns the current value of any user final (LOGOUT) or partial statistic. This function is useful for determining which resources are used by various portions of a request.

Syntax

The format of the $Stat function is:

$Stat(statistic,'user')

Where:

  • statistic specifies the name of the user statistic to be returned.
  • user specifies the return of a user final or partial statistic.

Example

... %x = $stat('CPU','USER') ...

See also