Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Anyone here use the TTCP program before?

Posted on 2004-09-26
5
Medium Priority
?
383 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

604 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