Help for this page

Select Code to Download


  1. or download this
    df -P | awk '/^\//{printf("%5s %s\n", $5, $6);}'
    
  2. or download this
    df -P | perl -ne 'printf("%5s %s\n", (split(/\s+/, $_))[4, 5])'
    
  3. or download this
    use Filesys::Statvfs;
    
    ...
                         Free inodes: $ffree (${\(int $ffree/$files*100)}%
    +)
    EOT
    }