Solved

Anyone here use the TTCP program before?

Posted on 2004-09-26
5
376 Views
Last Modified: 2010-04-21
I cant find any good documentation that explains the commands. I'm running it this way.

On the receiver:
ttcp -rs -l1024 -n10 -p4444


On the sender:
ttcp -ts -l1024 -n10 -p4444 dest_ip_here


Can anyone tell me what the -l switch and the -n switch do?  (in layman terms). I know it has something to do with packet length. Right?
Also, feel free to elaborate and give any pertinent info you think may help.
thanks
0
Comment
Question by:dissolved
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 12157735
-l    length of bufs written to network (default 1024)
-n   number of bufs written to network (-s only, default 1024)

see http://sd.wareonearth.com/~phil/net/ttcp/ for more details.

also:
man ttcp



0
 

Author Comment

by:dissolved
ID: 12159131
so -l is the amount of data we're writing to the other machine? and -n is the amount of times we're writing the data?
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 12159807
-l is the amount of data we're writing to the network
-n  is the number of times the buffer will be transmitted.

Here's a better doc:
http://support.countryday.net/TTCP/Default.htm
0
 

Author Comment

by:dissolved
ID: 12161642
Thanks, just for clarifications sake:

-l is the amount of data we're writing to the network PER PACKET?

-n is the number of times this data is being sent?  I know you said the number of times the buffer will be transmitted. But is that the same thing as sending it? (since it will go in the sender's receive buffer anyway)?

Thanks man
0
 
LVL 38

Expert Comment

by:yuzh
ID: 12166219
yes.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question