Testing large file transfers

Another good item to put in your admin bag of tricks is small one line script that will create a file of any size on linux.

To create a file of any size run this from a command shell in linux

dd if=/dev/zero of=largefile bs=100M count=21

The above line will create a file 2100 MB in size called largefile. The "bs" times the "count" will give you the final file size. These can be adjusted accordingly.

I have used this mini script to test out network card bandwidth between servers, switches and routers.

Its really nothing earth shattering but for those that have never seen it, it might be useful.

Labels: , ,