Skip to content

ramiroencinas/System-Stats-NETUsage

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 

System::Stats::NETUsage

Build Status

Raku module - Provides Network Usage Stats.

OS Supported:

  • GNU/Linux by /proc/net/dev
  • Win32 by netstat command

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>;

About

Raku module - Provides Network Usage Stats

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages