Computing.Net > Forums > Unix > calculate elapsed time

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

calculate elapsed time

Reply to Message Icon

Name: Irvan
Date: August 6, 2003 at 10:31:46 Pacific
OS: UNIX
CPU/Ram: 200
Comment:

Hi all,

I have search in this forum and find some answer to use
time (command) to calculate the elapsed time.

I tried to take the output of time i.e. the elapsed time only. But I still want the (command/function i called) output.

in the manual it said the output is to stderr but... it doesnt work.

I tried time (precheck) 2> timestamp




Sponsored Link
Ads by Google

Response Number 1
Name: Dlonra
Date: August 6, 2003 at 18:23:25 Pacific
Reply:

try
time precheck 2>timestamp


0

Response Number 2
Name: Irvan
Date: August 7, 2003 at 08:51:54 Pacific
Reply:


Hi Dlonra,

I tried time precheck 2> timestamp

It still prompt the elapsed time to the xterm screen. and the timestamp file is empty too.

Precheck is a function which call a lot of other function too. just FYI

Irvan


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: calculate elapsed time

Elapsed time in Unix Bourne shell www.computing.net/answers/unix/elapsed-time-in-unix-bourne-shell/2960.html

Calculation of time difference www.computing.net/answers/unix/calculation-of-time-difference/7509.html

Calculating time difference www.computing.net/answers/unix/calculating-time-difference/6988.html