#!/bin/csh -f # written by Kevin P. Inscoe (kevin@inscoe.org) # http://www.inscoe.org/ondemand # Fetches the OnDemand System Log into unix ascii file # Global Variables set host = `/bin/hostname` set logfile = "/var/log/ars_system.log" set ADMIN = "admin" set PASSWORD = "jazman11" /usr/lpp/ars/bin/arsquery -h $host -u $ADMIN -p $PASSWORD -v -o $logfile -q SystemLog -f "System Log" #/usr/lpp/ars/bin/arsquery -h $host -u $ADMIN -p $PASSWORD -c -v -o $logfile -f "System Log" -i "where time_stamp > 19990301"