WibbleWobbleWah : wibble

home :: about :: gallery :: linux :: links :: other :: recent changes :: contact
#!/usr/bin/perl

$listofcores = "listofcores";
open (CORES, $listofcores);
while(<CORES>)
{
chop;
($dev, $ino, $mode, $nlink,$uid,$gid, $rdev, $size, $atime, $mtime, $ctime,
$blksize, $blocks) =stat($_);
$total=$total+$size;
print "$_ is $size owned by $uid $ctime $mtime $atime\n";
}

print "TOTAL disk consumed by cores = $total";
exit;
Powered by 1.1.6.1
Page was generated in 0.0429 seconds