Time consumed

Alan Pope popey at ubuntu.com
Mon Nov 22 15:40:05 UTC 2010


On 22 November 2010 15:35, Kaushal Shriyan <kaushalshriyan at gmail.com> 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.
>

Time command!

alan at bishop:~$ time scp thishost:/home/alan/cc/*.png /home/alan/blah/
power-10min-l.png     100%   12KB  12.3KB/s   00:00
power-1day-l.png      100%   25KB  24.6KB/s   00:00
power-30day-l.png        100%   45KB  44.7KB/s   00:00
power-365day-l.png     100%   20KB  20.1KB/s   00:00
power-60min-l.png       100%   26KB  25.6KB/s   00:00
power-6h-l.png           100%   28KB  28.5KB/s   00:00
power-7day-l.png      100%   41KB  41.0KB/s   00:00
temp-10min-l.png     100% 7735     7.6KB/s   00:01
temp-1day-l.png           100%   10KB   9.9KB/s   00:00
temp-1year-l.png     100%   13KB  12.6KB/s   00:00
temp-30day-l.png       100%   24KB  24.1KB/s   00:00
temp-365day-l.png         100%   19KB  18.8KB/s   00:00
temp-60min-l.png         100% 9616     9.4KB/s   00:00
temp-6h-l.png           100%   11KB  10.7KB/s   00:00
temp-7day-l.png          100%   17KB  17.4KB/s   00:00

real    0m2.941s
user    0m0.028s
sys     0m0.020s

^^ See the 'real' value above.

Al.




More information about the ubuntu-users mailing list