mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 02:38:42 +08:00
Update docker.py
This commit is contained in:
parent
4ac1b9e1c1
commit
2120b5c6ec
@ -7,6 +7,11 @@ from dotenv import load_dotenv, find_dotenv
|
|||||||
import dotenv
|
import dotenv
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
def get_process_perc(app_name):
|
||||||
|
process_now = "0%"
|
||||||
|
|
||||||
|
return true
|
||||||
|
|
||||||
def check_vm_resource():
|
def check_vm_resource():
|
||||||
# 服务器剩余资源是否足够安装,如cpu,内存,硬盘
|
# 服务器剩余资源是否足够安装,如cpu,内存,硬盘
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user