Help for this page

Select Code to Download


  1. or download this
    1042% df -k /dev/hda7
    Filesystem           1K-blocks      Used Available Use% Mounted on
    ...
    1043% perl -e'print `df -k /dev/hda7`'
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/hda7              9606556   7156344   1962216  79% /
    
  2. or download this
    use Filesys::Df;
    
    ...
    print"Inodes Used:        $ref->{fused}\n";
    
    print"Total Bytes", ($ref->{blocks} * 1024), "\n";