Search Results

Search: Posts Made By: prashanth_gs
1,145
Posted By prashanth_gs
Need to pass argument
Hi,

I need to pass the argument in my shell script as db_ubackup20111015*.log

Scenario:

I have backup log file location in /home/backup directory (more than 40 days). I need to check the log...
912
Posted By prashanth_gs
Need to replace ssequence of number into single word
Hi,

I have a file which has bind varaiables like :1,:2 till :500.

I need to replace all these bind variables to word 'sysdate-3'

Whats the command I can use to do this.

Thanks
Forum: Solaris 02-20-2007
102,415
Posted By prashanth_gs
Ok..Thanks for your information and time. ...
Ok..Thanks for your information and time.

Thanks and Regards,
Prashanth
Forum: Solaris 02-14-2007
102,415
Posted By prashanth_gs
Schedule to run every 3 minutes - CRONTAB
Hello all,

I want to run a script every 3 minutes in os level and to send mail.

I scheduled in crontab as

3 * * * * /mnt1/monitorscripts/testdbstart.sh

I got mail every one hour and I...
29,812
Posted By prashanth_gs
Command to get only the Three Characters of the Month
Hi,

Please let me know if I can format the output of the date command to three character month name.

For example,if I type date and enter, it should give the Month name in the following format:...
Forum: Solaris 01-30-2007
3,606
Posted By prashanth_gs
Scripts - Processes, CPU, Max. Connections
Hi all,

Can any one please tell me how to find these in Unix (Commands)

1. Too many processes connected to the server.

2. High Utilization of CPU.

3. Maximum Number of connections with...
Forum: Solaris 12-19-2006
3,505
Posted By prashanth_gs
OS Patches
Hi all,

We are planning to install Oracle 10g in the Sun Solaris 10 (64 bit Sun Sparc ).

Can any one please tell me what are the OS level patches that has to be installed in the OS before...
Forum: Solaris 12-15-2006
9,988
Posted By prashanth_gs
Its not showing any results..Its keep on...
Its not showing any results..Its keep on hanging!!!!
Forum: Solaris 12-15-2006
9,988
Posted By prashanth_gs
send mail from UNIX
Hi

We have configured the mail server in our unix box. Still while trying to send mail it goes to dead letter.

We issued the command as

mailx -s "Hello" someone@somewhere.com

Note:

Is...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
I made the changes and checked more than thrice. ...
I made the changes and checked more than thrice.

Now it's working fine.

Thanks a lot grial and Kishore.

Its a very good experience.

Thanks for your valuable time.

Thanks and Regards,...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
Kishore $ ps -ef | grep oracle10 | grep...
Kishore

$ ps -ef | grep oracle10 | grep crontab | grep -v grep

oracle10 28591 28590 0 15:55:17 pts/3 0:00 sh -c ed /tmp/crontabbFaO13
oracle10 28590 28589 0 15:55:16 pts/3 0:00 crontab...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
No grial I am saving using ESC>:wq<INTRO> ...
No grial

I am saving using ESC>:wq<INTRO>

thats why i was able to check the changed entry in the crontab while issuing command crontab -l right! :)
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
Yeah Kishore , I cant understand whats...
Yeah Kishore , I cant understand whats happening....

see the o/p in the same session :

$ crontab -l
00 00 * * 6 /gdbuat4/backupscripts/weeklyexp10g.sh >> /tmp/export.log
$ fg
crontab -e
$...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
No Kishore, there is no result while...
No Kishore,

there is no result while executing this command

$ fg
ksh: fg: no such job
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
SESSION 1: $ ps -ef | grep oracle10 | grep...
SESSION 1:

$ ps -ef | grep oracle10 | grep crontab | grep -v grep

$kill -9 22754
$kill -9 22755
$kill -9 22747

(I killed all the crontab session )

$ps -ef | grep oracle10 | grep crontab...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
Hi grial, Please go through the steps I...
Hi grial,

Please go through the steps I have done.

login: oracle10
Password:

$ oraenv
ORACLE_SID = [gdbuat] ? gdbuat

$ crontab -l
03 12 * * * /gdbuat4/backupscripts/dailyexp10g.sh >>...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
No Kishore, there is no change after trying this....
No Kishore, there is no change after trying this.

Note:
Whenever I am closing the session after using the crontab -e. I am getting this message all the time

$ exit
You have stopped jobs
...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
Hi Kishore, I am finding the following...
Hi Kishore,

I am finding the following content in the local.cshrc file.

# @(#)cshrc 1.11 89/11/29 SMI
umask 022
set path=(/bin /usr/bin /usr/ucb /etc .)
if ( $?prompt ) then
set...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
Hi Kishore, 1. I am using vi editor. ...
Hi Kishore,

1. I am using vi editor.

export EDITOR=vi (I am issuing this command to use vi when ever I am using crontab -e otherways it doesnt enter into vi prompt.

ie, it give result...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
<<What do you mean by "getting freezed"? The...
<<What do you mean by "getting freezed"?

The changes which i made are not there in the crontab.

<<And, how are you updating the crontab? vi? crontab -e?

using crontab -e

/,Anyway, try to...
Forum: Solaris 12-13-2006
33
11,793
Posted By prashanth_gs
Hi I found that when ever I am closing my...
Hi

I found that when ever I am closing my current session the changes which i made are getting freezed. By opening another new session I cant find any changes which i made in the crontab entry.
...
Forum: Solaris 12-12-2006
33
11,793
Posted By prashanth_gs
Hope this is mirrored. Following are the...
Hope this is mirrored.

Following are the output once the command was issued.

$ df -k /var
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d5 10327372 ...
Forum: Solaris 12-12-2006
33
11,793
Posted By prashanth_gs
I was not aware of this metastat. While...
I was not aware of this metastat.

While typing metastat it gave some details like follows (as this ):

d138: Concat/Stripe
Size: 93762560 blocks
Stripe 0:
Device ...
Forum: Solaris 12-12-2006
33
11,793
Posted By prashanth_gs
Crontab
Hi all,

I am finding a issue with crontab that whatever the changes I made in the crontab file on the previous day wont be getting replicated today.

I saved the editor properly.

What would...
Showing results 1 to 24 of 24

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