update doc

This commit is contained in:
BryantHe 2023-08-10 13:02:47 +08:00
parent 29bde845e4
commit 94a4da983f
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ def hello():
<br /> <br />
<a href=""> """ + f'CPU 核数:{psutil.cpu_count()},目前 CPU 占用率: {psutil.cpu_percent()}' + """</a> <a href=""> """ + f'CPU 核数:{psutil.cpu_count()},目前 CPU 占用率: {psutil.cpu_percent()}' + """</a>
<br /> <br />
<a href=""> """ + f'总内存 {psutil.virtual_memory().total / 1024 / 1024} MB使用中内存{round(psutil.virtual_memory().used / 1024 / 1024, 2)} MB' + """</a> <a href=""> """ + f'总内存 {round(psutil.virtual_memory().total / 1024 / 1024, 2)} MB使用中内存{round(psutil.virtual_memory().used / 1024 / 1024, 2)} MB' + """</a>
<br /> <br />
<a href=""> """ + f'磁盘总空间 {round(psutil.disk_usage("/").total / 1024 / 1024 / 1024, 2)} G磁盘使用情况{round(psutil.disk_usage("/").used / 1024 / 1024 / 1024, 2)} G' + """</a> <a href=""> """ + f'磁盘总空间 {round(psutil.disk_usage("/").total / 1024 / 1024 / 1024, 2)} G磁盘使用情况{round(psutil.disk_usage("/").used / 1024 / 1024 / 1024, 2)} G' + """</a>
</span> </span>