Sysinfo class

Certain statistics on memory and swap usage, as well as the load average.

Annotations
  • @immutable

Constructors

Sysinfo({required Duration uptime, required List<int> loads, required int totalram, required int sharedram, required int bufferram, required int totalswap, required int freeswap, required int procs, required int totalhigh, required int freehigh, required int mem_unit})
Constructs a new Sysinfo instance.
const

Properties

bufferram int
Memory used by buffers
final
freehigh int
Available high memory size
final
freeswap int
Swap space still available
final
hashCode int
The hash code for this object.
no setteroverride
loads List<int>
1, 5, and 15 minute load averages
final
mem_unit int
Memory unit size in bytes
final
procs int
Number of current processes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedram int
Amount of shared memory
final
totalhigh int
Total high memory size
final
totalram int
Available memory size
final
totalswap int
Total swap space size
final
uptime Duration
Duration since boot
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override