Friday, January 30, 2009

Seraching for exception in log file

#!/bin/bash
for X in $(egrep -o "[A-Z]\w*Exception" log_week.txt | sort | uniq) ;
do
echo -n -e "processing $X\t"
grep -c "$X" log_week.txt
done

From the productive programmer

Saturday, January 24, 2009

Saturday, January 10, 2009

After Ubuntu Kernal Related Upgarde Vbox Issue

Issue the following commands

sudo aptitude install virtualbox-ose virtualbox-ose-source module-assistant
sudo m-a prepare
sudo m-a a-i virtualbox-ose

to rid of vbox startup issues after Kernel Upgrade in Ubuntu.

Thursday, January 1, 2009

Installing new modules in Perl

One might want to perform various operations using Perl such as database operations, LDAP queries. To install various modules

The the information is contained on the following page
Adding Perl Modules

Controlling Eclipse Memory options

Either add the following to eclipse.ini or to the launcher that launches eclipse

eclipse -Xms=512m -Xmx=1024m