struct Protocol::SystemInfo::ProcessInfo

Overview

Represents process info.

Included Modules

Defined in:

protocol/system_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def cpu_time : Number::Primitive #

Specifies cumulative CPU usage in seconds across all threads of the process since the process start.


[View source]
def id : Int::Primitive #

Specifies process id.


[View source]
def type : String #

Specifies process type.


[View source]