Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Tie: Creating Special Objects

by blueflashlight (Pilgrim)
on Jul 07, 2001 at 07:42 UTC ( #94682=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    printf("%20s%-20s\n", "load(5):\t",  $uptime->load('five'));
    printf("%20s%-20s\n", "load(15):\t", $uptime->load('fifteen'));
    printf("%20s%-20s\n", "string:\t",   $uptime->as_string);
    
  2. or download this
    ./dumpuptime.pl 
                uptime:     21 days,   8:02     
    ...
               load(5):     0.04                
              load(15):     0.03                
                string:      20:39pm  up 21 days,   8:02,  1 users,  load 
    +average:  0.04, 0.03, 0.04
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-08-21 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls