update doc
This commit is contained in:
parent
29bde845e4
commit
94a4da983f
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue