LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2006, 01:54 PM   #1
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Rep: Reputation: 15
Question how to get delay transfer file


to all
i have some problem. I want downloading some file in my server with wget.But theris no delay transfer display. I want to know delay transfer file. thanks
 
Old 02-19-2006, 02:31 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
If you want to know how long it takes to transfer a file, you could do the math on the filesize divided by the download speed or you could use the time command

time wget http://somedomain.com/news.html
 
Old 02-23-2006, 12:59 PM   #3
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Original Poster
Rep: Reputation: 15
Mr RobertP. I have try your submit.
Report about time wget http://192.168.0.2/file1

real 0m0.239s
user 0m0.000s
sys 0m0.000s

what it means?
 
Old 02-23-2006, 02:17 PM   #4
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
In .239 s the file was transferred. The kernel and user time was less than one millisecond. This means most of the time was spent waiting for packets to arrive in the machine from the network. Essentially all the time was spent in input and output rather than moving or changing data in the computer.

On a modern PC, the CPU and memory can move gigabytes of information in a second. Our network connection to the internet may be as slow as a few kilobytes per second.

The three numbers are simply accounting for how time was spent while the programme, wget started, received the file and stop. see man time for more information.
man time
SYNOPSIS
time [ -apqvV ] [ -f FORMAT ] [ -o FILE ]
[ --append ] [ --verbose ] [ --quiet ] [ --portability ]
[ --format=FORMAT ] [ --output=FILE ] [ --version ]
[ --help ] COMMAND [ ARGS ]

DESCRIPTION
time run the program COMMAND with any given arguments ARG.... When
COMMAND finishes, time displays information about resources used by
COMMAND (on the standard error output, by default). If COMMAND exits
with non-zero status, time displays a warning message and the exit sta-
tus.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delay opening same M$ Word file dorian33 Linux - Networking 0 10-13-2005 12:53 PM
File Transfer thereeper Linux - Software 2 05-17-2005 05:26 PM
file transfer from vm phfowol Debian 3 10-23-2004 12:39 AM
Change delay time with wu-ftpd file namdn Linux - Networking 0 10-08-2004 11:22 PM
File transfer Joe47 Linux - Newbie 2 02-09-2003 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration