Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Checking disk quota

21 bytes added, 21:52, 25 December 2007
shorter lines
<source lang="bash">
# cat /proc/vz/vzquota | awk ' BEGIN {b_s=b_h=i_s=i_h=0} /1k-blocks/ {b_s+=$3; b_h+=$4} /inodes/ {i_s+=$3; i_h+=$4} END {print "1k-blocks soft: " b_s " hard:" b_h; print " inodes soft: " i_s " hard: " i_h}'
1k-blocks soft: 68500834 hard:73237749
inodes soft: 7880000 hard: 8080000