From 2120b5c6eca2e275991cbca105ac3c8465a55550 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 9 Mar 2023 10:37:49 +0800 Subject: [PATCH] Update docker.py --- appmanage/api/utils/docker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appmanage/api/utils/docker.py b/appmanage/api/utils/docker.py index b4932470..2cab89d8 100644 --- a/appmanage/api/utils/docker.py +++ b/appmanage/api/utils/docker.py @@ -7,6 +7,11 @@ from dotenv import load_dotenv, find_dotenv import dotenv from pathlib import Path +def get_process_perc(app_name): + process_now = "0%" + + return true + def check_vm_resource(): # 服务器剩余资源是否足够安装,如cpu,内存,硬盘