Class: Locd::Agent::Status

Inherits:
Hamster::Hash
  • Object
show all
Includes:
NRSER::Props::Immutable::Hash
Defined in:
lib/locd/agent.rb

Overview

Structs

Direct Known Subclasses

Locd::Agent::Site::Status

Instance Attribute Summary collapse

Instance Attribute Details

#last_exit_codeInteger? (readonly)

The last status code the agent exited with, if any is available.

Returns:

  • (Integer?)


81
# File 'lib/locd/agent.rb', line 81

prop  :last_exit_code, type: t.int?

#loadedBoolean (readonly)

true if the agent is loaded in launchd.

Returns:

  • (Boolean)


63
# File 'lib/locd/agent.rb', line 63

prop  :loaded, type: t.bool

#pidInteger? (readonly)

The process ID the agent is running as (if any).

Returns:

  • (Integer?)


75
# File 'lib/locd/agent.rb', line 75

prop  :pid, type: t.non_neg_int?

#runningBoolean (readonly)

true if the agent is currently running.

Returns:

  • (Boolean)


69
# File 'lib/locd/agent.rb', line 69

prop  :running, type: t.bool