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")
Source Code
# File commands/process/reaper.rb, line 14 def process(action, pid_path, pattern, keyword) new(pid_path, pattern, keyword).process(action) end
<code/>and<pre/>for code samples.