struct

Sysinfo::Memory

Inherits Struct < Value < Object

Global RAM statistics; sizes in KB.

Constructors

new(total_kb : Int64, available_kb : Int64)
Source

Instance methods

available_kb
Source
percent

Used percent, 0 when total is unknown.

Source
total_kb
Source
used_kb
Source