CPU Functionality
cpuCount
Return integer count of CPUs on this system
Usage
cpuCount [ --handler handler ] [ --help ]
Return integer count of CPUs on this system
Arguments
--handler handler- Function. Optional. Use this error handler instead of the default error handler.--help- Flag. Optional. Display this help.
Writes to standard output
PositiveInteger
Return codes
0- Success1- Environment error2- Argument error
cpuLoadAverage
Get the load average using uptime
Usage
cpuLoadAverage [ --help ]
Get the load average using uptime
Arguments
--help- Flag. Optional. Display this help.
Writes to standard output
lines:Number
Return codes
0- Success1- Environment error2- Argument error
Requires
- uptime