System::Stats::CPUsage

Provides Statistics CPU Usage in percentage

System::Stats::CPUsage

Raku module - Provides Statistics CPU Usage in percentage.

OS Supported:

  • GNU/Linux by /proc/stat

  • Win32 by wmic

Installing the module

zef update
zef install System::Stats::CPUsage

Example Usage:

use v6;
use System::Stats::CPUsage;

say "CPUsage%: " ~ CPU_Percentage();

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.