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

Re: Finding out how long a script has been running

by lshatzer (Friar)
on Jun 21, 2002 at 16:52 UTC ( [id://176324]=note: print w/replies, xml ) Need Help??


in reply to Finding out how long a script has been running

You could also use $^T, it is the epoch when the script started. Check perlvar out.
  • Comment on Re: Finding out how long a script has been running

Replies are listed 'Best First'.
Re: Re: Finding out how long a script has been running
by shotgunefx (Parson) on Jun 21, 2002 at 18:37 UTC
    If you go this route, be aware under mod_perl or other situations where you script is persistant, it might not be the number you want.

    -Lee

    "To be civilized is to deny one's nature."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found