This is my first post here, so hi to everyone and thanks for ProxMox. I've been using it in my small home server since the beginning of the year and I'm really delighted with it.
I'm creating a monitoring script for the ProxMox host and I can't figure out how to get data about disk usage. When I use lvs command, I get:
I see the size of each partition, but for some reason, I cannot see the usage percentage for root.
Regards and thanks in advance.
I'm creating a monitoring script for the ProxMox host and I can't figure out how to get data about disk usage. When I use lvs command, I get:
Code:
root@hub1:~/scripts/system_monitor# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 65.91g 10.92 5.53
root pve -wi-ao---- 27.75g
swap pve -wi-ao---- 4.00g
vm-100-disk-2 pve Vwi-aotz-- 6.00g data 63.95
vm-101-disk-1 pve Vwi-a-tz-- 8.00g data 41.99
I see the size of each partition, but for some reason, I cannot see the usage percentage for root.
Regards and thanks in advance.