Comment 15 for bug 1538055

Revision history for this message
Michael Polenchuk (mpolenchuk) wrote :

use in nailgun-agent a kind of the following check:
def get_mco_status
  Process.kill 0, %x(status mcollective).split.last.to_i
rescue
 0
end

# returns 1 if process found and active, otherwise 0