Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: GerV
  • Order by date
  1. GerV

    Searching backwards in a log file

    Try the following script : #!/bin/ksh typeset -i TOTAL=$(cat $1 | wc -l) typeset -i LAST=$(grep -n "ORA-" $1 | tail -1 | cut -f 1 -d ":") typeset -i START=${TOTAL}-${LAST}+1 tail -${START} $1 windows : reboot Unix : be root
  2. GerV

    Searching backwards in a log file

    Use : cat <logfile> | grep &quot;ORA&quot; | tail -1 You'll get ther latest ORA error windows : reboot Unix : be root
  3. GerV

    Does a logfile for ftp-commands exist under Solaris 8 ?

    Hi From http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsrdb%2F16725&zone_32=ftp%20logging : First modify /etc/inetd.conf and add -d and -l to the in.ftpd line: ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd -l -d then restart inetd (I would also suggest using the...
  4. GerV

    TNG Workload alter jobset

    How can I remove the Earlytime from a jobset with the cautil command I have tried : cautil select jobset id=xxxx alter jobset earlyt=&quot;&quot; Errormessage is that earlytime requires 4 characters windows : reboot Unix : be root

Part and Inventory Search

Back
Top