0 purchases
system resources 2
System Resources #
Forked from jonasroussel/system_resources. Brings the package up-to-date with latest Dart version.
Provides easy access to system resources (CPU load, memory usage).
Usage #
import 'package:system_resources/system_resources.dart';
void main() async {
await SystemResources.init();
print('CPU Load Average : ${(SystemResources.cpuLoadAvg() * 100).toInt()}%');
print('Memory Usage : ${(SystemResources.memUsage() * 100).toInt()}%');
}
copied to clipboard
Features #
Linux #
Function
x86_64
i686
aarch64
armv7l
cpuLoadAvg
🟢
🟢
🟢
🟢
memUsage
🟢
🟢
🟢
🟢
macOS #
Function
Intel
M1
cpuLoadAvg
🟢
🟢
memUsage
🟢
🟢
Windows #
Function
64 bit
32 bit
ARMv7
ARMv8+
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.