worker_tracker v0.2.0 WorkerTracker.WorkerInstance.WaitingWorkerProcess

Link to this section Summary

Functions

Parses waiting worker information from the given process string

Link to this section Functions

Link to this function

parse_worker_process(process_string)

Parses waiting worker information from the given process string

Example

iex> process_string = "deploy 12345 23456 b c d e f g h i j some_worker_process"
iex> WorkerTracker.WorkerInstance.WaitingWorkerProcess.parse_worker_process(process_string)
%WorkerTracker.WorkerInstance.WaitingWorkerProcess{owner: "deploy", pid: 12345, ppid: 23456, name: "some_worker_process"}