]> git.proxmox.com Git - pve-container.git/commit
added 'pct df'
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 4 Jul 2016 12:55:41 +0000 (14:55 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 4 Jul 2016 13:00:34 +0000 (15:00 +0200)
commitc6b596561ff0510d4a41d6a58b2f083f4ae8283b
tree35e1b5f0499a2dad1cc28634b08a00875d3039da
parent6535fcdb00c566dd950fc82583dd07bc04ab57d8
added 'pct df'

This works on both online and offline containers. Offline
containers get mounted (with a 'mounted' lock) during the
operation.

The output is similar to 'df -h'.

Example output:
MP     Volume                  Size   Used Avail Use% Path
rootfs tank:subvol-400-disk-1  9.0G 184.9M  8.8G  0.0 /
mp0    /Custom/share          31.4G  26.3G  3.4G  0.8 /share
src/PVE/CLI/pct.pm