struct

Jane::Info::Metrics

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(hostname : String, os : String, kernel : String, uptime : String, cpu_model : String, cpu_cores : Int32, cpu_usage : String, load_avg : String, total_memory : String, used_memory : String, free_memory : String, memory_usage : String, jane_version : String)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cpu_cores
Source
cpu_cores=(cpu_cores : Int32)
Source
cpu_model
Source
cpu_model=(cpu_model : String)
Source
cpu_usage
Source
cpu_usage=(cpu_usage : String)
Source
free_memory
Source
free_memory=(free_memory : String)
Source
hostname
Source
hostname=(hostname : String)
Source
jane_version
Source
jane_version=(jane_version : String)
Source
kernel
Source
kernel=(kernel : String)
Source
load_avg
Source
load_avg=(load_avg : String)
Source
memory_usage
Source
memory_usage=(memory_usage : String)
Source
os=(os : String)
Source
total_memory
Source
total_memory=(total_memory : String)
Source
uptime
Source
uptime=(uptime : String)
Source
used_memory
Source
used_memory=(used_memory : String)
Source