Browse Source

update

master
lxbhahaha 1 year ago
parent
commit
5ba920daef
  1. 2
      check.py

2
check.py

@ -245,7 +245,7 @@ def get_table_res(data_list):
str_list.append(table_icon['vline']) str_list.append(table_icon['vline'])
# 占用情况 # 占用情况
if used_mem < 500 and util_gpu < 20: if used_mem < 1000 and util_gpu < 20:
status = COLOR_GREEN + 'free' + END_COLOR status = COLOR_GREEN + 'free' + END_COLOR
text_len = 5 text_len = 5
elif used_mem / total_mem < 0.5: elif used_mem / total_mem < 0.5:

Loading…
Cancel
Save