struct PlaceOS::Core::ProcessManager::DriverStatus

Included Modules

Extended Modules

Defined in:

placeos-core/process_manager.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(running : Bool, module_instances : Int32, last_exit_code : Int32, launch_count : Int32, launch_time : Int64, percentage_cpu : Float64 | Nil, memory_total : Int64 | Nil, memory_usage : Int64 | Nil) #

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

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(running _running = @running, module_instances _module_instances = @module_instances, last_exit_code _last_exit_code = @last_exit_code, launch_count _launch_count = @launch_count, launch_time _launch_time = @launch_time, percentage_cpu _percentage_cpu = @percentage_cpu, memory_total _memory_total = @memory_total, memory_usage _memory_usage = @memory_usage) #

[View source]
def last_exit_code : Int32 #

def launch_count : Int32 #

def launch_time : Int64 #

def memory_total : Int64 | Nil #

def memory_usage : Int64 | Nil #

def module_instances : Int32 #

def percentage_cpu : Float64 | Nil #

def running : Bool #