worker_tracker v0.2.0 WorkerTracker.WorkerInstance.ActiveWorkerProcess

Link to this section Summary

Functions

Parses active worker information from the given process string

Link to this section Functions

Link to this function

parse_worker_process(process_string)

Parses active worker information from the given process string

Example

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