Project

General

Profile

Actions

$cpuload » History » Revision 5

« Previous | Revision 5/7 (diff) | Next »
Per Amundsen, 03/14/2019 08:30 PM


Added in 1.8.10

$cpuload

Returns current cpu load in percentage.

Can take a while to return a value/freeze on first use.


Added in 3.4

$cpuload(N)

Returns the current cpu load in percentage for the Nth core.

Parameters

N - If N = 0 returns number of cores, otherwise the load for the Nth cpu core.

Example

//echo -ag the current load for the 3rd core is $cpuload(3)

Updated by Per Amundsen about 5 years ago · 5 revisions

Also available in: PDF HTML TXT