Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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/;


Comment on Re: parsing output of uptime

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2015-01-27 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (199 votes), past polls