For calculate the space occupied by deleted files you can run this command:
lsof |grep "deleted" |awk {'print $7'} |awk '{s+=$1} END {print s}'
Brain dump
For calculate the space occupied by deleted files you can run this command:
lsof |grep "deleted" |awk {'print $7'} |awk '{s+=$1} END {print s}'