Search Results

Search: Posts Made By: abhi123
1,061
Posted By abhi123
Help needed - RHL
Hi,
have been given a dell server with redhat linux installed , in my new company on my desk , have not worked much on linux. Was also given a static IP.

I dont have a console, but a monitor,...
5,812
Posted By abhi123
i have run the script as RTM suggested..so my...
i have run the script as RTM suggested..so my script looks like this:
-------------------------------------------
if [ -f /filename ]
then
rm filename;
do job1;

else
touch...
5,812
Posted By abhi123
Cronjob on alternate sundays
I want to set the crontab job for one of my SIEBEL database to refresh it on alternate sundays. Is there anyway I can do it through cron please ?
If not whats the alternative ? :confused:

Thanks...
2,087
Posted By abhi123
I actully want to trim the logfile in a way that...
I actully want to trim the logfile in a way that I want to keep last 90 days data and remove anything older than that. SQL gives me the "sysdate-90" I want. Now I want to keep from that line till...
2,087
Posted By abhi123
sed again!
Hi,
I have got a variable DATE as
/oracle/:>echo $DATE
Sun Jan 5

when I try following command
/oracle/:>sed '/Sun Jan 5/,/$d/ !d' something.log > tmp.log

it works great, but when I try...
4,338
Posted By abhi123
Stupid me! I shud have spotted that earlier ! ...
Stupid me!
I shud have spotted that earlier !
(It worked by the way )

In my script I specified now fully qualified paths everywhere, and that was the only missing part.

Cheers then ,
4,338
Posted By abhi123
echo $LINE gives me proper number when I execute...
echo $LINE gives me proper number when I execute manually, through cron, tyhe logfile says "expr: Syntax error"


Please help !
4,338
Posted By abhi123
All, This may sound elementary but I am tired...
All,
This may sound elementary but I am tired getting this at work!!
This piece of code is giving me a problem, in the sense when I run it manually it runs well, but when I run this though cron it...
4,338
Posted By abhi123
All, Out of woods finally ! Have a look at...
All,
Out of woods finally !
Have a look at the code.
I got the date-90 in the required format from the sql itself :-)

and following is the korn code :...
4,338
Posted By abhi123
But I am not deleteing anything from database ! ...
But I am not deleteing anything from database !
I need to trim the logfile..
4,338
Posted By abhi123
Yeah, That sure would have been an easy win, If I...
Yeah, That sure would have been an easy win, If I was allowed to do that , BUt I am supposed to keep it in single file only!
4,338
Posted By abhi123
Yeah, the log contains the router log information...
Yeah, the log contains the router log information and helps us keeping watch on how much the lag is! So it may be repeating information in case routers are not working! ( and In that case we need to...
4,338
Posted By abhi123
herer it is again ! ...
herer it is again !
***************************************************

SQL*Plus: Release 8.1.7.0.0 - Production on Thu Feb 27 19:20:00 2003

(c) Copyright 2000 Oracle Corporation. All rights...
4,338
Posted By abhi123
help in sed script
I am having a shell script that connects to database half hourly and pulls out the backlog from some tables. Now that logfile is growing too big and I need to housekeep it! effectively I want to...
Showing results 1 to 14 of 14

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