worker_tracker v0.4.1 WorkerTracker.WorkerInstance.ResquePoolMasterProcess
Link to this section Summary
Functions
Parses resque-pool-master process information from the given process string
Link to this section Functions
Link to this function
parse_master_process(process_string)
Parses resque-pool-master process information from the given process string
Example
iex> process_string = deploy 12345 23456 23456 23456 11 03:20 ? 00:36:04 resque-pool-master[90c000d68d5ac6f9b8de937161187f50c5b60722]: managing [26033, 26042]
iex> WorkerTracker.WorkerInstance.ResquePoolMasterProcess.parse_master_process(process_string)
%WorkerTracker.WorkerInstance.ResquePoolMasterProcess{owner: "deploy", pid: 12345, ppid: 23456, name: resque-pool-master[90c000d68d5ac6f9b8de937161187f50c5b60722], managed_processes: [26033, 26042]}