From 29bde845e4b798a89dcba6088f49a18bd807b8ca Mon Sep 17 00:00:00 2001 From: BryantHe Date: Thu, 10 Aug 2023 13:01:49 +0800 Subject: [PATCH] update doc --- app/api/v1/api.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/api/v1/api.py b/app/api/v1/api.py index 6f3656c..38da3eb 100644 --- a/app/api/v1/api.py +++ b/app/api/v1/api.py @@ -12,7 +12,7 @@ api = APIBlueprint('api', __name__) def hello(): result_one = f'我是您的专属接口提供服务器: {os.environ["HOSTNAME"]}' result_two = f'我的机器参数如下' - result_three = f'操作系统:{platform.system()},CPU 核数:{psutil.cpu_count()},目前 CPU 占用率: {psutil.cpu_percent()}' + result_three = f'操作系统:{platform.system()}' text = """