Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: disk space utilization

by gam3 (Curate)
on Apr 08, 2005 at 20:18 UTC ( [id://446151]=note: print w/replies, xml ) Need Help??

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
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://446151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found