1#!/bin/bash 2 3# Generate a set of test logs 4 5# 5 million lines - 1, 429Mb 6perl -e 'for ($i = 0; $i < 4999999; $i++) 7 { printf "LOGDATA is a part of LogCrawler, we are going to test it thoroughly, this is line %06d\n", $i; }'\ 8 >/tmp/verybiglog.txt 9 10# 100 million lines - 1, Mb 11# perl -e 'for ($i = 0; $i < 100000000; $i++) 12# { printf "LOGDATA is a part of LogCrawler, we are going to test it thoroughly, this is line %07d\n", $i; }'\ 13# >~/stupidlybiglog.txt 14 15