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

Re: parsing output of uptime

by Maqs (Deacon)
on Apr 22, 2000 at 15:10 UTC ( #8594=note: print w/replies, xml ) Need Help??


in reply to parsing output of uptime

$uptime=`uptime`; $uptime =~ s/.*(\d+:\d+).*/$1/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://8594]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-02-19 15:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (292 votes). Check out past polls.