From: Yiannis Kanellopoulos (yiannis.kanellopoulos@nl.wanadoo.com)
Date: Thu Dec 08 2005 - 09:03:24 EST
Thank you all for replying to my stupid little problem :)
I have done this test on a P3 500MB ram and here are the results:
(debian 2.6.13-f4). The solution is obvious. :) Perl couldn't use it due
to memory restrictions.
$ ls -lh /var/import/helpdeskreport.txt.out
-rw-r--r-- 1 ykanello ykanello 291M 2005-12-08
13:16 /var/import/helpdeskreport.txt.out
$ time <command> ykanello !$
grep 60,54s user 1,43s system 66% cpu 1:33,74 total
fgrep 60,59s user 1,42s system 73% cpu 1:24,16 total
egrep 60,48s user 1,31s system 79% cpu 1:17,42 total
sed 65,46s user 1,20s system 81% cpu 1:21,65 total
awk 73,58s user 2,06s system 80% cpu 1:34,37 total
agrep 0,46s user 1,13s system 16% cpu 9,863 total
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:35 EDT