You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import psutil
|
|
import logging
|
|
|
|
def get_io_percent():
|
|
disk_usage = psutil.disk_usage('/')
|
|
logging.debug(f'Disk usage: {disk_usage.percent}%')
|
|
return disk_usage.percent |