method

process

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: Killer
process(action, pid_path, pattern, keyword) public

Searches for all processes matching the given keywords, and then invokes a specific action on each of them. This is useful for (e.g.) reloading a set of processes:

  Killer.process(:reload, "/tmp/pids", "dispatcher.*.pid")
Show source
Register or log in to add new notes.