Raku Land

System::Stats::NETUsage

github:ramiroencinas

System::Stats::NETUsage

Build Status

Raku module - Provides Network Usage Stats.

OS Supported:

Installing the module

zef update
zef install System::Stats::NETUsage

Example Usage:

use v6;
use System::Stats::NETUsage;

my %netUsage = NET_Usage();

say "\nNetwork Usage per second:\n";

say "Bytes received: " ~ %netUsage<bytesReceivedPerSecond>;
say "    Bytes sent: " ~ %netUsage<bytesSentPerSecond>;