search for: sjohlae

Displaying 1 result from an estimated 1 matches for "sjohlae".

Did you mean: scholae
2004 Jan 06
0
dfree and linux quota
...tive result. My dfree command entry: dfree command = /scripte/dfree/smb_dfree.pl %U My perl scirpt: #!/usr/bin/perl use Quota; my ($dev,$uid,$isgrp); my ($bc,$bs,$bh,$bt,$ic,$is,$ih,$it); $dev="/dev/md3"; #$uid=`getent passwd $ARGV[0]|cut --delimiter=\: --fields=3-3`; $uid=`getent passwd sjohlae|cut --delimiter=\: --fields=3-3`; ($bc,$bs,$bh,$bt,$ic,$is,$ih,$it) = Quota::query($dev,$uid,$isgrp); my $dspace = $bs; my $dfree = $bs - $bc; my $bsize = 1024; print "$dspace $dfree $bsize\n";