$Stat

From m204wiki
(Redirected from $STAT)
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