Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Wildly over-engineered solution to df formatting

by blssu (Pilgrim)
on Oct 31, 2002 at 18:17 UTC ( [id://209469]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    conch:~% du -sk * | perl -MFoo -e k2m
      0.01M Foo.pm
      6.88M Mail
    ...
    /dev/sd0f         1.89G    0.87G    0.93G    48%    /usr/guest1
    /dev/sd0e         0.71G    0.38G    0.29G    56%    /usr/msen
    mfs:25            63471      116    60181     0%    /tmp
    
  2. or download this
    package Foo;
    
    ...
    sub b2g { filter_columns(1024*1024*1024, 'G') }
    
    1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-12-07 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (50 votes). Check out past polls.