enh: add /mnt/pockethost to disk space check

This commit is contained in:
Ben Allfree 2024-08-12 12:42:45 +00:00
parent a0f1c34e3a
commit 927d97d57b

View File

@ -160,7 +160,10 @@ export const checkHealth = async () => {
`CPUs: ${cpu.count()}`,
`CPU Usage: ${await cpu.usage()}%`,
`Free RAM: ${getFreeMemoryInGB()}GB`,
`Free Storage: ${(await drive.info(`/`)).freeGb}GB`,
`Free Storage /: ${(await drive.info(`/`)).freeGb}GB`,
`Free Storage /mnt/pockethost: ${
(await drive.info(`/mnt/pockethost`)).freeGb
}GB`,
`Open files: ${openFiles.length}`,
`Containers: ${containers.length}`,
])