System Resources

pub package

Provides easy access to system resources (CPU load, memory usage).

Usage

import 'package:system_resources/system_resources.dart';

void main() {
  print('CPU Load Average : ${(SystemResources.cpuLoadAvg() * 100).toInt()}%');
  print('Memory Usage     : ${(SystemResources.memUsage() * 100).toInt()}%');
}

Features

Linux

Functionx86_64i686aarch64armv7l
cpuLoadAvg🟢🟢🟢🟢
memUsage🟢🟢🟢🟢

macOS

FunctionIntelM1
cpuLoadAvg🟢🟢
memUsage🟢🟢

Windows

Function64 bit32 bitARMv7ARMv8+
cpuLoadAvg🔴🔴🔴🔴
memUsage🔴🔴🔴🔴

🟢 : Coded, Compiled, Tested

🟠 : Coded, Not Compiled

🔴 : No Code

Improve, compile & test

You are free to improve, compile and test libsysres C code for any platform not fully supported.

Github Issues | Pull requests

Libraries

system_resources