MCPcopy Create free account
hub / github.com/apache/cloudstack / kill_all

Method kill_all

systemvm/debian/opt/cloud/bin/cs/CsProcess.py:36–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 os.system("%s %s %s" % (thru, " ".join(self.search), background))
35
36 def kill_all(self):
37 pids = self.find_pid()
38 for p in pids:
39 CsHelper.execute("kill -9 %s" % p)
40
41 def find_pid(self):
42 self.pid = []

Callers

nothing calls this directly

Calls 2

find_pidMethod · 0.95
executeMethod · 0.65

Tested by

no test coverage detected