MCPcopy Index your code
hub / github.com/SpaceNetLab/StarryNet / sn_check_utility

Function sn_check_utility

starrynet/sn_utils.py:628–632  ·  view source on GitHub ↗
(time_index, remote_ssh, file_path)

Source from the content-addressed store, hash-verified

626
627
628def sn_check_utility(time_index, remote_ssh, file_path):
629 result = sn_remote_cmd(remote_ssh, "vmstat")
630 f = open(file_path + "/utility-info" + "_" + str(time_index) + ".txt", "w")
631 f.writelines(result)
632 f.close()
633
634
635def sn_update_delay(file_path, configuration_file_path, timeptr,

Callers 1

runMethod · 0.85

Calls 1

sn_remote_cmdFunction · 0.85

Tested by

no test coverage detected