system_resources 1.6.0
system_resources: ^1.6.0 copied to clipboard
Provides easy access to system resources (CPU load, memory usage).
System Resources #
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 #
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