Search Results

Search: Posts Made By: sai2013
7,832
Posted By sai2013
Thanks hanson. That worked! Simple solution &...
Thanks hanson. That worked! Simple solution & does the job!
7,832
Posted By sai2013
Appreciate all your inputs but I am a newbie and...
Appreciate all your inputs but I am a newbie and a lot of what is suggested is arcane to me. Trying hard to make sense of it and testing it out. Will keep you posted with my final outcome/solution.
7,832
Posted By sai2013
Pickett, I tried the below code. The logs just...
Pickett, I tried the below code. The logs just hung at a point, maybe before reaching the line, '$SERVER_STATUS'



seek=0
while :
do
sz=`ls -l nohup.out | sed '
s/^[^ ][^ ]* *[^ ][^ ]*...
7,832
Posted By sai2013
I do have a single script for both Server Startup...
I do have a single script for both Server Startup & Shutdown with parameters defining the operation & Search Keyword. In both cases, we are monitioring the same file.

There are two scripts -...
7,832
Posted By sai2013
I tried this one. Got "[: too many arguments " on...
I tried this one. Got "[: too many arguments " on the if condition. Any typos in the code below? Thanks.
7,832
Posted By sai2013
Thanks Pickett. To add more clarity to my query,...
Thanks Pickett. To add more clarity to my query, I only need to look for the word once.

The file 'nohup.out' starts of as an empty file everytime the startup script is executed. Once the word...
7,832
Posted By sai2013
Break out of tail -f
Hi,

I have a requirement to monitor a srver log file realtime for a word 'Started'. Once found, I invoke another program tp perform additional processing.

The code below meets my requirement....
Showing results 1 to 7 of 7

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