Anyone here use the TTCP program before?

Posted on 2004-09-26
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.
Question by:dissolved
  • 3
  • 2
LVL 38

Expert Comment

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

see for more details.

man ttcp


Author Comment

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?
LVL 38

Accepted Solution

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:

Author Comment

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
LVL 38

Expert Comment

ID: 12166219

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux : adding the new user with password option, 11 126
cron job says it ran, no results 25 128
How to check the PVU´s on AIX TSM servers? 3 121
mobaxterm not able to change directory 28 290
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

726 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