display NAS
This commit is contained in:
parent
054b18b593
commit
b904ca4009
1 changed files with 5 additions and 0 deletions
|
@ -198,6 +198,11 @@ class IndexView(TemplateView):
|
|||
stats.append(
|
||||
f"<em>DISK:</em> {naturalsize(disk.used)}/{naturalsize(disk.total)} ({disk.percent}% USED)"
|
||||
)
|
||||
|
||||
disk = psutil.disk_usage('/mnt/nas')
|
||||
stats.append(
|
||||
f"<em>NAS:</em> {naturalsize(disk.used)}/{naturalsize(disk.total)} ({disk.percent}% USED)"
|
||||
)
|
||||
|
||||
uptime = normalize_seconds(time.time() - psutil.boot_time())
|
||||
|
||||
|
|
Loading…
Reference in a new issue