Class: PyramidScheme::ProcessManager
- Inherits:
-
Object
- Object
- PyramidScheme::ProcessManager
- Defined in:
- lib/pyramid_scheme/process_manager.rb
Class Method Summary collapse
Class Method Details
.bounce_searchd ⇒ Object
7 8 9 |
# File 'lib/pyramid_scheme/process_manager.rb', line 7 def self.bounce_searchd kill_searchd_with_signal("HUP") end |
.kill_searchd ⇒ Object
11 12 13 |
# File 'lib/pyramid_scheme/process_manager.rb', line 11 def self.kill_searchd kill_searchd_with_signal("KILL") end |
.searchd_pids ⇒ Object
3 4 5 |
# File 'lib/pyramid_scheme/process_manager.rb', line 3 def self.searchd_pids Rush.processes.filter(:cmdline => /searchd/) end |