/system/cpu-usage-ajax.php

Description

Returns XML (AJAX) document with information about a CPU usage.

NOTE: You can request this information using a URL similar to the one below (where both the "sleep" and "props" options are optional):

 https://127.0.0.1/nstwui/php/system/cpu-usage-ajax.php?sleep=1.0&props=standard
The optional "sleep" parameter indicates the number of seconds to sleep when determining CPU usage. The optional 'props' parameter should be set to "standard" if you want ALL of the standard NST WUI ajax information returned as well as the CPU usage fields.

See the ProcStat::storeProperties() method for additional details on the entries in the resulting XML document returned.

  • author: Paul Blankenbaker
Includes
include_once ('../lib/WuiProperties.php') (line 31)

Include supporting classes.

include_once ('../lib/ProcStat.php') (line 32)

Documentation generated on Sun, 11 Feb 2018 07:41:02 -0500 by phpDocumentor 1.4.4