MCPcopy Create free account
hub / github.com/SpaceNetLab/StarryNet / do_get_utility

Method do_get_utility

starrynet/cli.py:175–179  ·  view source on GitHub ↗

list the CPU and memory useage at a certain time

(self, line)

Source from the content-addressed store, hash-verified

173 output("The IP list of the node is(are): " + str(IP) + ".\n")
174
175 def do_get_utility(self, line):
176 "list the CPU and memory useage at a certain time"
177 "The output file will be generated once the emulation starts"
178 arg, args, line = self.parseline(line)
179 self.sn.get_utility(int(arg))
180
181 def do_set_damage(self, line):
182 "set a random damage of a given ratio at a certain time, which will be processed during emulation"

Callers

nothing calls this directly

Calls 1

get_utilityMethod · 0.80

Tested by

no test coverage detected