Search Results

Search: Posts Made By: thirumaran
2,658
Posted By thirumaran
Madhan, Thanks for ur help awk -v...
Madhan,

Thanks for ur help

awk -v var=`cat date_file` '{ if ( $0 ~ var ) { print } }' log_file

this will get the date and search for the pattern in log file .

can u help me in this ...
2,658
Posted By thirumaran
This file has the last run date ...
This file has the last run date
[Servername:/home/out]cat sample_lrd.out
2007-09-20



dberror.log

[:/home/db2inst1/sqllib/db2dump]cat db2diag.log
Unreserved memory left in set : 573440...
2,658
Posted By thirumaran
date search
Hi

Need to serach a file after a particular date for a pattren match

example:
1) ldr.out => last run date is stored in which has value 2007-09-20
2) dberror.log => captures all db errors...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy