How can I include the root disk size in a column when listing containers?
Or, display the DISK USAGE option as a percentage?
I currently use;
lxc list -c ns4,limits.cpu:cpu,limits.cpu.allowance:allowance,limits.cpu.priority:priority,limits.memory:memory,MDS
Which gives me;
+--------+---------+---------------------+-----+-----------+----------+--------+---------------+------------+-----------+
| NAME | STATE | IPV4 | CPU | ALLOWANCE | PRIORITY | MEMORY | MEMORY USAGE% | DISK USAGE | SNAPSHOTS |
+--------+---------+---------------------+-----+-----------+----------+--------+---------------+------------+-----------+
But I’d really like to see disk size and/or usage as a percentage so I can see at a glance whether disks are filling up.
The host is Ubuntu 18.04 running LXD 5.3/stable.