Beispiel #1
0
def full_space():
    return int(sh.sed(sh.awk(sh.quota(), '{print $3}'), '-n', '4p')) * 1024
Beispiel #2
0
def used_space():
    return int(sh.sed(sh.awk(sh.quota(), '{print $1}'), '-n', '4p')) * 1024