new helper PVE::Tools::du() - get disk usage
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 25 Apr 2018 08:29:58 +0000 (10:29 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 25 Apr 2018 08:29:58 +0000 (10:29 +0200)
commit62635f92356f82e76b044fcc74ccd4e1d624637a
tree500dd48635c1042ccdf6fce652b1d0d2c3f2a1ea
parentfd58bb2bffcc0270e99951da92b64bd147a895ef
new helper PVE::Tools::du() - get disk usage

We simply call the external binary 'du', so that we can abort the command
when we run into a timeout.
src/PVE/Tools.pm