mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
dd
This commit is contained in:
parent
8ef006a71d
commit
ac91ff9093
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import json
|
||||||
import traceback
|
import traceback
|
||||||
import cloudscraper
|
import cloudscraper
|
||||||
import aiohttp
|
import aiohttp
|
||||||
|
import logging
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from shutil import disk_usage
|
from shutil import disk_usage
|
||||||
from time import time
|
from time import time
|
||||||
|
|
@ -141,7 +142,7 @@ async def server_stats(self: Client, ctx: Message) -> "Message":
|
||||||
download = get_readable_file_size(net_io_counters().bytes_recv)
|
download = get_readable_file_size(net_io_counters().bytes_recv)
|
||||||
|
|
||||||
cpu_percentage = cpu_percent()
|
cpu_percentage = cpu_percent()
|
||||||
LOGGER.info(cpu_percentage)
|
logging.info(cpu_percentage)
|
||||||
cpu_counts = cpu_count()
|
cpu_counts = cpu_count()
|
||||||
|
|
||||||
ram_percentage = virtual_memory().percent
|
ram_percentage = virtual_memory().percent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue