1*649b599dSNicolas Bonnefon#!/bin/bash 2*649b599dSNicolas Bonnefon 3*649b599dSNicolas Bonnefon# Generate a set of test logs 4*649b599dSNicolas Bonnefon 5*649b599dSNicolas Bonnefon# 5 million lines - 1, 429Mb 6*649b599dSNicolas Bonnefonperl -e 'for ($i = 0; $i < 4999999; $i++) 7*649b599dSNicolas Bonnefon { printf "LOGDATA is a part of LogCrawler, we are going to test it thoroughly, this is line %06d\n", $i; }'\ 8*649b599dSNicolas Bonnefon >/tmp/verybiglog.txt 9