From 03fa2af1ffbba365ff58e63c09598ec1b7128e8f Mon Sep 17 00:00:00 2001 From: lxbhahaha <1580622474@qq.com> Date: Wed, 27 Mar 2024 15:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=80=E4=B8=8B?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=8D=A0=E7=94=A8=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.py b/check.py index bfa570c..7112e6b 100644 --- a/check.py +++ b/check.py @@ -245,7 +245,7 @@ def get_table_res(data_list): str_list.append(table_icon['vline']) # 占用情况 - if used_mem < 500: + if used_mem < 500 and util_gpu < 20: status = COLOR_GREEN + 'free' + END_COLOR text_len = 5 elif used_mem / total_mem < 0.5: