Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: doughnut charts with gd:graph

by theravadamonk (Scribe)
on Jul 25, 2018 at 11:53 UTC ( [id://1219250]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @df = `df /var`;
    
  2. or download this
    print @df;
    
  3. or download this
    
    Filesystem           1K-blocks    Used Available Use% Mounted on
    /dev/mapper/vg_mail-lv_var
                          94959436 1415576  88713448   2% /var
    
  4. or download this
    
    my ($used, $free) = (split (/\s+/, $df[1]))[2,3]; #HOW TO PRINT THE OU
    +TPUT?
    
  5. or download this
    print $used;
    print $free;
    
  6. or download this
    my $used = (split (/\s+/, $df[1]))[2];
    my $free = (split (/\s+/, $df[1]))[3];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-23 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found