Hi,
I would like to calculate the process time  of a batch job.
I tried like this.

#!/usr/bin/perl
my $start_tm = time();
#lets consider i have a code which takes 70 minutes to execute the process
# I am using sleep to substitute the process

sleep(70)
my $end_tm = time()
my $process_tm = $end_tm - $start_tm;
print " The process time of Batch is : $process_tm \n";

________________________________________________________________

Note: *The process time is in epoch time .
         How do i convert it into hours/minutes/seconds format*.

Please advise



Regards,
Ram
Mobile:551-208-8276


“Unix is user-friendly. It's just very selective about who its friends are."

Reply via email to