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

Method kill

systemvm/debian/opt/cloud/bin/cs/CsProcess.py:57–59  ·  view source on GitHub ↗
(self, pid)

Source from the content-addressed store, hash-verified

55 return has_pid
56
57 def kill(self, pid):
58 if pid > 1:
59 CsHelper.execute("kill -9 %s" % pid)
60
61 def grep(self, str):
62 for i in CsHelper.execute("ps aux"):

Callers 3

runMethod · 0.80
stopMethod · 0.80
stopOldHeartBeatMethod · 0.80

Calls 1

executeMethod · 0.65

Tested by

no test coverage detected