A Script On Transfer Time


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting A Script On Transfer Time
# 1  
Old 09-08-2011
A Script On Transfer Time

I wanna make a shell script that calculates the total time spent on copying a file.

Script will simply copy a file using cp command or maybe wget..

Which commands i can use to get the time details of a file?

thanks,
# 2  
Old 09-08-2011
# 3  
Old 09-08-2011
Code:
$ man time

# 4  
Old 09-08-2011
Thanks a lot.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transfer file from a server takes long time

It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB. scp user1@serverA:/opt/setup/cash.zip . Output: cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA uname -a SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies

2. Red Hat

Data transfer Time calculation

1 TB of data needs to read through 4 I/O channesl, each channels supports - 100 MB/s, What is average time taken to read the data ? Please give the formula for my understanding (2 Replies)
Discussion started by: Srini.rk1983
2 Replies

3. Shell Programming and Scripting

FTP Transfer fails at first time. Kindly help

This is the command we use to transfer the file to destination we ran this command from batch job. first time it hangs. when we cancel and ran it again it works in 5 sec. anyone come out without solution..? ftp -n destinationftp << CMDEND user user/passwd lcd ${root}path cd path put... (1 Reply)
Discussion started by: shenthil76
1 Replies

4. Shell Programming and Scripting

Ftp script hangs for first time,but works every second time

Hi I have an ftp script which works fine when i execute through a test scheduler(UC4), but when i run it through the prod scheduler(UC4), it hungs indefinetely, when we cancel the job and re-run it it works perfectly fine. here is the code,, any idea why this is happening ???? ... (1 Reply)
Discussion started by: selvankj
1 Replies

5. Solaris

2 File transfer problems since time change on Nov 6th

We are in a hosting environment.Everyday a FTP server on client side follows predefined schedules to get files from a file server on hosting side. On the file server, the files are originally saved in /data folder; after the remote FTP server gets them, the files will be moved to /archive... (2 Replies)
Discussion started by: madmax123
2 Replies

6. UNIX for Advanced & Expert Users

2 File transfer problems since time change on Nov 6th

We are in a hosting environment.Everyday a FTP server on client side follows predefined schedules to get files from a file server on hosting side. On the file server, the files are originally saved in /data folder; after the remote FTP server gets them, the files will be moved to /archive... (1 Reply)
Discussion started by: madmax123
1 Replies

7. Shell Programming and Scripting

Shell script to convert epoch time to real time

Dear experts, I have an epoch time input file such as : - 1302451209564 1302483698948 1302485231072 1302490805383 1302519244700 1302492787481 1302505299145 1302506557022 1302532112140 1302501033105 1302511536485 1302512669550 I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies

8. Filesystems, Disks and Memory

Estimate Transfer Time

Hi, Not sure whether this is the relevant place for such question, but I hope can get some feedback on my question. I have 2 Sun machine. Basically I want to move some data from one box to another box using dedicated fiber connection. I would like to estimate the time required for the... (1 Reply)
Discussion started by: user50210
1 Replies

9. Shell Programming and Scripting

Transfer script.

Hi folks, I have written down transfer script , which actually reads the file name from input and FTP the file to other server . there are following things I am looking for - our files name are with sequential number like in our server file is placed with combination filename+data+seq... (1 Reply)
Discussion started by: khan1978
1 Replies
Login or Register to Ask a Question