mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
enh: add /mnt/pockethost to disk space check
This commit is contained in:
parent
a0f1c34e3a
commit
927d97d57b
@ -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}`,
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user