Solved

Anyone here use the TTCP program before?

Posted on 2004-09-26
5
332 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now