struct

Ctop::Snapshots::ProcessInfo

Inherits Struct < Value < Object

Information about a single process

Constructors

new(pid : Int64, name : String, state : Hardware::PID::Stat::State, cpu_percent : Float64, memory_kb : Int32, command : String)
Source

Instance methods

clone
Source
command
copy_with(pid _pid = @pid, name _name = @name, state _state = @state, cpu_percent _cpu_percent = @cpu_percent, memory_kb _memory_kb = @memory_kb, command _command = @command)
Source
cpu_percent
memory_kb
name
pid
state