From 17a40802ae6f8d290bd3de1fca96f419db02bc92 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 5 Jun 2024 16:16:10 +0800 Subject: [PATCH] Update task_manager_index.py --- plugins/task_manager/task_manager_index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/task_manager/task_manager_index.py b/plugins/task_manager/task_manager_index.py index c22ff7eab..476f85302 100755 --- a/plugins/task_manager/task_manager_index.py +++ b/plugins/task_manager/task_manager_index.py @@ -408,6 +408,7 @@ class mainClass(object): return self.__process_net_list[pid]['up'], self.__process_net_list[pid]['up_package'], \ self.__process_net_list[pid]['down'], self.__process_net_list[pid]['down_package'] + # print(pid, self.__process_net_list[pid]['up'], self.last_net_process[pid]['up'],time.time(),self.last_net_process_time) up = int((self.__process_net_list[pid]['up'] - self.last_net_process[pid]['up']) / ( time.time() - self.last_net_process_time)) down = int((self.__process_net_list[pid]['down'] - self.last_net_process[pid]['down']) / (