mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 12:41:05 +08:00
修改一下 bmclapi 汇报数据的细节
This commit is contained in:
parent
5c7dfe9e88
commit
b086eeb08c
4
main.py
4
main.py
|
@ -234,8 +234,8 @@ async def add_message(data: Dict[str, Any]):
|
|||
report_msg = (
|
||||
"OpenBMCLAPI 状态:\n"
|
||||
f"在线节点: {online_node} 带宽: {online_bandwidth}Mbps\n"
|
||||
f"实时负载带宽: {data_bandwidth}Mbps 负载: {load_str}%\n"
|
||||
f"当日 总请求: {data_hits} 总数据量: {data_bytes}"
|
||||
f"实时负载带宽: {data_bandwidth:.5f}Mbps 负载: {load_str:.3f}%\n"
|
||||
f"当日 总请求: {data_hits} 总数据量: {data_bytes / 1024 / 1024:.3f}MB"
|
||||
)
|
||||
await sio.emit(
|
||||
"sendMessage",
|
||||
|
|
Loading…
Reference in New Issue
Block a user