diff --git a/client.py b/client.py index e4e6545..e18f25a 100644 --- a/client.py +++ b/client.py @@ -123,6 +123,7 @@ def get_memory_info(error_dict): def get_networks_info(error_dict): # net_io = psutil.net_io_counters() # print(net_io) + # todo pass # endregion diff --git a/client_config.json b/client_config.json index eff9a25..107d020 100644 --- a/client_config.json +++ b/client_config.json @@ -3,7 +3,7 @@ "title": "174", "interval": 3.0, "note": "", - "enable": ["gpu", "cpu", "memory", "storage", "network"], + "enable": ["gpu", "cpu", "memory", "storage"], "storage_list":[ "/", "/media/D", diff --git a/server.py b/server.py index be6ad5c..0b2da57 100644 --- a/server.py +++ b/server.py @@ -1,9 +1,6 @@ from flask import Flask, jsonify, request -from datetime import datetime from flask_cors import CORS -import threading import json -import time #region 全局 diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..2b89fbf --- /dev/null +++ b/web/index.html @@ -0,0 +1,11 @@ + + +
+ + +