I'm running diff at the command prompt against two very large text files (>1GB) and system kills the process and replys back "Terminated" after 15 seconds.
I believe a system parameter needs to be adjusted but can't figure it out.
I'm running Red Hat 4.1.2-46, 2.6.18-028stab089.1
Thanks in advance.
-Pete
What is the your full command?
diff day1.txt day2.txt
15 seconds later systems responds:
Terminated
maybe you can try line to line compare with -a option
or try `comm` or `bdiff` or `shell script` or different kernel (>2.6.23) or split files..
regards
ygemici
day1.txt must has more or equal lines as day2.txt
awk '{X=$0;getline Y< "day2.txt" ; if (X!=Y) {print NR; print "<" FS X;print ">" FS Y} }' day1.txt