Provides easy access to system resources (CPU load, memory 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()}%');
}
Function | x86_64 | i686 | aarch64 | armv7l |
---|---|---|---|---|
cpuLoadAvg | ๐ข | ๐ข | ๐ข | ๐ข |
memUsage | ๐ข | ๐ข | ๐ข | ๐ข |
Function | Intel | M1 |
---|---|---|
cpuLoadAvg | ๐ข | ๐ข |
memUsage | ๐ข | ๐ข |
Function | 64 bit | 32 bit | ARMv7 | ARMv8+ |
---|---|---|---|---|
cpuLoadAvg | ๐ด | ๐ด | ๐ด | ๐ด |
memUsage | ๐ด | ๐ด | ๐ด | ๐ด |
๐ข : Coded, Compiled, Tested
๐ : Coded, Not Compiled
๐ด : No Code
You are free to improve, compile and test libsysres
C code for any platform not fully supported.
Github Issues | Pull requests