struct PlaceOS::Core::ProcessManager::SystemStatus

Included Modules

Extended Modules

Defined in:

placeos-core/process_manager.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hostname : String, cpu_count : Int64, core_cpu : Float64, total_cpu : Float64, memory_total : Int32, memory_usage : Int32, core_memory : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(hostname _hostname = @hostname, cpu_count _cpu_count = @cpu_count, core_cpu _core_cpu = @core_cpu, total_cpu _total_cpu = @total_cpu, memory_total _memory_total = @memory_total, memory_usage _memory_usage = @memory_usage, core_memory _core_memory = @core_memory) #

[View source]
def core_cpu : Float64 #

def core_memory : Int32 #

def cpu_count : Int64 #

def hostname : String #

def memory_total : Int32 #

def memory_usage : Int32 #

def total_cpu : Float64 #