View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Dec 14, 2006 1:51 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I'd like to test out my new network gear without using a stopwatch. Is there an easy way to literally time how long it takes to copy files from one location to another and when finished, report the total time?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 2:36 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Any command can be clocked with time.
Code:
time scp file user@blah.blah.blah.blah:/path/to/blah


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 3:16 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Thanks man! Very cool and just what I wanted :)

Now... is there a win32 equivalent to test xfers from win32 to myth is the question!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 4:07 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
I wonder what I'd kind find if I googled 'windows scp'? I wonder what would happen if I simply turned on Samba and explored my neighborhood?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 6:32 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I don't think the scp is needed... if I do a
Code:
$ time cp /path/to/file /path/to/destination
it returns the time as well. I did find a utility for win32 called robocopy.exe which works (part of the Windows Server 2003 Resource Kit Tools which is a free d/l.

Code:
E:\Test>robocopy VIDEO_TS y:\ VTS_01_1.VOB

------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows     ::     Version XP010
------------------------------------------------------------------------------

  Started : Thu Dec 14 19:29:51 2006

   Source : E:\Test\VIDEO_TS\
     Dest : y:\

    Files : VTS_01_1.VOB

  Options : /COPY:DAT /R:1000000 /W:30

------------------------------------------------------------------------------

                           1    E:\TEST\VIDEO_TS\
100%        New File            1023.9 m        VTS_01_1.VOB

------------------------------------------------------------------------------

                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :         1         0         1         0         0         0
    Files :         1         1         0         0         0         0
    Bytes : 1023.97 m 1023.97 m         0         0         0         0
    Times :   0:00:47   0:00:47                       0:00:00   0:00:00

    Speed :            22449553 Bytes/sec.
    Speed :            1284.573 MegaBytes/min.

    Ended : Thu Dec 14 19:30:39 2006


Thanks again for the help!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 14, 2006 9:34 pm 
Offline
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location: Bendigo, Victoria, Australia
graysky wrote:
Now... is there a win32 equivalent to test xfers from win32 to myth is the question!


Do you need to run the command from the Windows side?
or could you just try:
time cp user@RemotePC:/path/to/blah /path/to/destination

_________________
Paul Turpie
-------------
<--Is your location in your profile? Why not?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 1:34 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Thanks for the post, turpie. I actually found that robocopy works great for my purposes.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 84 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu