MCPcopy Create free account
hub / github.com/comaps/comaps / siblings

Method siblings

tools/python/test_server/server/SiblingKiller.py:93–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91
92
93 def siblings(self):
94 my_name = self.my_process_name()
95 return filter(lambda x: x < self.__my_pid,
96 map(lambda x: int(x.split(" ")[1]),
97 filter(lambda x: my_name in x, self.all_processes)))
98
99
100 def kill_process_on_port(self):

Callers 1

kill_siblingsMethod · 0.95

Calls 2

my_process_nameMethod · 0.95
mapFunction · 0.85

Tested by

no test coverage detected