struct PlaceOS::Core::ProcessManager::SystemStatus
- PlaceOS::Core::ProcessManager::SystemStatus
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
placeos-core/process_manager.crConstructors
- .new(hostname : String, cpu_count : Int64, core_cpu : Float64, total_cpu : Float64, memory_total : Int32, memory_usage : Int32, core_memory : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #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)
- #core_cpu : Float64
- #core_memory : Int32
- #cpu_count : Int64
- #hostname : String
- #memory_total : Int32
- #memory_usage : Int32
- #total_cpu : Float64
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)
#
Instance Method Detail
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)
#