Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command to tell how long my script has been running ... 2

Status
Not open for further replies.

h3nd

Programmer
Joined
Jul 1, 2006
Messages
147
Location
AU
Hi guys,

Just simple question, I was wondering to tell exactly how long has my script been running for ?

So could you guys tell me the command or idea ?

Thx guys,

 
try:

time script_name

or:

timex script_name


Regards,
Chuck
 
There is the -o etime option in ps to check the elapse time of a running process.

I hope that helps.

Mike
 
Thx guys,

appreciate that :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top