Time consumed
Mike Klinke
lsomike at futzin.com
Mon Nov 22 15:58:00 UTC 2010
On Monday 22 November 2010 09:35, Kaushal Shriyan wrote:
> I have ran the command by hand to scp a 200MB file from a remote
> server to a local server.
> is there a way to time it, I mean how much time it has consumed for
> the scp to complete the task.
>
> How do i incorporate in bash shell script.
The bash shell has a built-in timer (time), for example:
# time sleep 10
real 0m10.029s
user 0m0.001s
sys 0m0.002s
Regards, Mike Klinke
More information about the users
mailing list