Server logging and status in jGuru.com

Logs

Tracked:

status: cache efficiency, memory usage,

emailed panics

Stats

Collect stats from ad and pageview logs, email to root.

echo "ORACLE AD Views (splash)"

for f in $AD_LOGDIR/ad-2003$MONTH*.log
do
 echo -n `basename $f` ":"
 grep -i 'company=oracle' $f | grep -i 'loc=splash' | wc -l 
done

echo "ORACLE AD Views (download)"

for f in $PAGEVIEW_LOGDIR/pageview-2003$MONTH*.log
do
 echo -n `basename $f` ":"
 grep -i '/download/index.jsp' $f | wc -l
done