inital commit 1

This commit is contained in:
mxdyeah committed 2026-07-08 19:25:29 +08:00
commit db645123c7
196 files changed
+11102

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import xmlrpc.client
if __name__ == "__main__":
try:
with xmlrpc.client.ServerProxy("http://localhost:9005/RPC2") as server:
info = server.supervisor.getAllProcessInfo()
error_states = list(filter(lambda x: x["state"] != 20, info))
exit(len(error_states))
except Exception as e:
print(e.with_traceback())
exit(1)