Re: Time consumed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux