Re: UNIX : script help/input

2003-10-02 Thread Jared . Still
    To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>         cc:                 Subject:        Re: UNIX : script help/input Jamadagni, Rajendra wrote: > unfortunately we _had_ to do it in pl/sql ... it is part of the > encrypted feed that we send out to our clients

Re: UNIX : script help/input

2003-10-02 Thread Jared . Still
ltiple recipients of list ORACLE-L <[EMAIL PROTECTED]>         cc:                 Subject:        Re: UNIX : script help/input [EMAIL PROTECTED] wrote: > Left pad with zeroes, take a substring, feed it to the handy-dandy > hex/oct/bin/dec converter package - much easier. Jared, what Oracle

RE: UNIX : script help/input

2003-10-02 Thread Jamadagni, Rajendra
Title: RE: UNIX : script help/input it was actually "C" code ... but because data is going on a modem, the pl/sql speed is acceptable (in fact we have to _wait_ after sending out each message). Had fun doing that though ... it is critical, tied to our SLA ... so must be up all the

Re: UNIX : script help/input

2003-10-02 Thread Vladimir Begun
Jamadagni, Rajendra wrote: unfortunately we _had_ to do it in pl/sql ... it is part of the encrypted feed that we send out to our clients ... it is decoded by a chip. Oh well I am back to array of references ... I'd suggest to consider external C function -- it's faster, it's easier to writ

Re: UNIX : script help/input

2003-10-02 Thread Vladimir Begun
[EMAIL PROTECTED] wrote: Left pad with zeroes, take a substring, feed it to the handy-dandy hex/oct/bin/dec converter package - much easier. Jared, what Oracle edition do you use? I'm asking because you might want to consider not to use 'handy-dandy' hex/oct/bin/dec converter package, but TO_CHAR/T

RE: UNIX : script help/input

2003-10-02 Thread Jamadagni, Rajendra
: Thursday, October 02, 2003 2:20 PMTo: Multiple recipients of list ORACLE-LSubject: RE: UNIX : script help/inputRaj, I did consider doing it this way, but the thought of writing stuff to the bit level for a prototype was just too painful. Left pad with zeroes, take a substring, feed it to the

RE: UNIX : script help/input

2003-10-02 Thread Jared . Still
t; <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED]  10/02/2003 05:54 AM  Please respond to ORACLE-L                 To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>         cc:                 Subject:        RE: UNIX : script help/input XOR that gives me some pain

Re: AW: UNIX : script help/input

2003-10-02 Thread Jared . Still
e respond to ORACLE-L                 To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>         cc:                 Subject:        AW: UNIX : script help/input Hi Speaking of Perl, ... maybe somebody (Jared) can help out with some Perl / Windows problems: I'm using

Re: UNIX : script help/input

2003-10-02 Thread Don Yu
Johan: Please see the attachment file, which is my script for everyday web server log file and uses nslookup to process the results. Hope that it is helpful. Don Johan Muller wrote: > Anybody with a quick and dirty (elegant would be nice too), to munge > output from a nslookup output file to a

RE: UNIX : script help/input

2003-10-02 Thread Norris, Gregory T [ITS]
> Note: > This message is for the named person's use only. It may > contain confidential, proprietary or legally privileged > information. No confidentiality or privilege is waived or > lost by any mistransmission. If you receive this message in > error, please immediately delete it and all

RE: UNIX : script help/input

2003-10-02 Thread Jamadagni, Rajendra
Title: RE: UNIX : script help/input XOR that gives me some painful memories in recent days ... xor is possible in pl/sql but needs a little work. I migrated a "C" encryption code to pl/sql  and then use utl_tcp to sent it to our router which feeds the modem banks. This is ho

AW: UNIX : script help/input

2003-10-02 Thread Stefan Jahnke
An: Multiple recipients of list ORACLE-L Betreff: RE: UNIX : script help/input > Good! The more the merrier! Welcome to the club. Oh most definitely. As I just finished writing a prototype package for assigning MAC addresses ( we make network stuff - that's a technical term ), I have en

Re: UNIX : script help/input

2003-10-01 Thread Vladimir Begun
Jared Jared Still wrote: Good! The more the merrier! Welcome to the club. Oh most definitely. As I just finished writing a prototype package for assigning MAC addresses ( we make network stuff - that's a technical term ), I have endured the agonies of doing hex math in PL/SQL. I finally bit the b

RE: UNIX : script help/input

2003-10-01 Thread Jared Still
> Good! The more the merrier! Welcome to the club. Oh most definitely. As I just finished writing a prototype package for assigning MAC addresses ( we make network stuff - that's a technical term ), I have endured the agonies of doing hex math in PL/SQL. I finally bit the bullet and used string

Re: UNIX : script help/input

2003-10-01 Thread Jared Still
> Tanel. > > - Original Message - > > From: Johan Muller <mailto:[EMAIL PROTECTED]> > To: Multiple recipients of list ORACLE-L > <mailto:[EMAIL PROTECTED]> > Sent: Wednesday, October 01, 2003 8:24 PM > Subjec

RE: UNIX : script help/input

2003-10-01 Thread Mladen Gogala
On Wed, 2003-10-01 at 14:34, Jamadagni, Rajendra wrote: > Funny .. I am currently sitting in a Perl class, so I can actually > read what MG has written. I'll be soon Perl-literate ... > > Raj Good! The more the merrier! Welcome to the club. Note: This message is for the named person's use on

Re: UNIX : script help/input

2003-10-01 Thread Govindan K
Thank God for Jared <-Original Message->     From: Tanel PoderSent: 10/1/2003 10:37:55 AMTo: [EMAIL PROTECTED]Subject: Re: UNIX : script help/input  Thank God for Perl and Mladen ;)   Tanel.   - Original Message - From: Johan Muller To: Multiple recipients of list

Re: UNIX : script help/input

2003-10-01 Thread Jared Still
:) On Wed, 2003-10-01 at 10:24, Johan Muller wrote: > Mladen, > > It worked! > > Heartfelt thank you from the evangelized perl crowd (now watch the list-owner grin). > > Mladen Gogala <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl -w > use strict; > use bytes; > my ($NAME,$IP,@LB); > while (<

RE: UNIX : script help/input

2003-10-01 Thread Jamadagni, Rajendra
RACLE-LSubject: Re: UNIX : script help/input Thank God for Perl and Mladen ;)   Tanel.   - Original Message - From: Johan Muller To: Multiple recipients of list ORACLE-L Sent: Wednesday, October 01, 2003 8:24 PM Subject: Re: UNIX : script

Re: UNIX : script help/input

2003-10-01 Thread Tanel Poder
Thank God for Perl and Mladen ;)   Tanel.   - Original Message - From: Johan Muller To: Multiple recipients of list ORACLE-L Sent: Wednesday, October 01, 2003 8:24 PM Subject: Re: UNIX : script help/input Mladen,   It worked!   Heartfelt thank

Re: UNIX : script help/input

2003-10-01 Thread Mladen Gogala
On Wed, 2003-10-01 at 13:24, Johan Muller wrote: > Mladen, > > It worked! > Did you have any doubts? That's precisely what perl is good for. Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidenti

Re: UNIX : script help/input

2003-10-01 Thread Johan Muller
Mladen,   It worked!   Heartfelt thank you from the evangelized perl crowd (now watch the list-owner grin).Mladen Gogala <[EMAIL PROTECTED]> wrote: #!/usr/bin/perl -wuse strict;use bytes;my ($NAME,$IP,@LB);while (<>) {chomp;@LB=split /\s+/;if ($LB[0] =~ /^name:/i) {$NAME=$LB[1];}if ($LB[0] =~ /^a

Re: UNIX : script help/input

2003-10-01 Thread Mladen Gogala
#!/usr/bin/perl -w use strict; use bytes; my ($NAME,$IP,@LB); while (<>) { chomp; @LB=split /\s+/; if ($LB[0] =~ /^name:/i) { $NAME=$LB[1]; } if ($LB[0] =~ /^address:/i) { $IP=$LB[1]; write; } } format STDOUT= @<< ,@ $NAME,$IP

Re: UNIX : script help/input

2003-10-01 Thread Joe Testa
I supposed if you send to a file, we can read it using ORACLE to parse it w/plsql and then using utl_file write it back out but seems like overkill to use oracle for that, but then again this is an oracle list, so i'll have to assume thats what you wanted, anyone up for the task :) joe Johan M

RE: UNIX : script help/input

2003-10-01 Thread Stephane Faroult
> >Anybody with a quick and dirty (elegant would be >nice too), to munge output from a nslookup output >file to a delimited file? > >'File content: > >Server: dns1.mci.com >Address: 199.249.19.1 > >Name:WCOM-4NXZGAPWY5.mcilink.com >Address: 166.50.73.209 > >Delimited file should have the fol

UNIX : script help/input

2003-10-01 Thread Johan Muller
Anybody with a quick and dirty (elegant would be nice too), to munge output from a nslookup output file to a delimited file? 'File content: Server:  dns1.mci.comAddress:  199.249.19.1 Name:    WCOM-4NXZGAPWY5.mcilink.comAddress:  166.50.73.209 Delimited file should have the following line(s);  (usi

Re: FW: OT: unix script quetion: to replace $ with \$

2003-02-04 Thread Suzy Vordos
ign), as > > some InterMedia > > table names do, the piped command will fail. > > > > Guang > > > > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > > > Stephen Lee > > > Se

FW: OT: unix script quetion: to replace $ with \$

2003-02-04 Thread gmei
ed command will fail. > > Guang > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > > Stephen Lee > > Sent: Monday, February 03, 2003 3:54 PM > > To: Multiple recipients of list ORACLE-L > > Subject: RE: OT

RE: OT: unix script quetion: to replace $ with \$

2003-02-04 Thread Stephen Lee
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > > Stephen Lee > > Sent: Monday, February 03, 2003 3:54 PM > > To: Multiple recipients of list ORACLE-L > > Subject: RE: OT: unix script quetion: to replace $ with \$ > > > > > > > > Would somethin

RE: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread gmei
3:54 PM > To: Multiple recipients of list ORACLE-L > Subject: RE: OT: unix script quetion: to replace $ with \$ > > > > Would something like this be adaptable to your stuff? > > #!/usr/bin/ksh > > { > sqlplus -s <<-XXX > joe/blow@SID > set this an

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Guang Mei
044 echo '123$45$678' | sed -e "s#\044#\\\044#g" Jared "Guang Mei" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/03/2003 12:09 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc:

RE: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Stephen Lee
Would something like this be adaptable to your stuff? #!/usr/bin/ksh { sqlplus -s <<-XXX joe/blow@SID set this and that off set the other thing and trimspool on set whatever else select table_name from dba_tables where owner = 'BUBBA'; } | while read LINE;

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Jared . Still
ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject:Re: OT: unix script quetion: to replace $ with \$ Hi, Brian: Thanks for your (and others) help. I can not use signle quotes in "echo" in my program. The reason is

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Brian_P_MacLean
Sent by: Subject: OT: unix script quetion:

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Guang Mei
"Guang Mei" <[EMAIL PROTECTED]To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> m> cc: Sent by: Subject: OT: unix script quetion:

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Jared . Still
echo '123$45$678' | sed -e 's#\$#\\$#g' "Guang Mei" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/03/2003 10:39 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: S

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Ron Thomas
[EMAIL PROTECTED] cc: Subject: OT: unix scri

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread tim
Please note the use of single-quotes (') instead of double-quotes (") in the echo command, as well as the use of single-quotes in the sed command... $ echo '123$45$678' | sed 's/\$/\\$/g' 123\$45\$678 Hope this helps... > Hi: > > I have a quick question about replacing "$" with "\$" on

RE: unix script quetion: to replace $ with \$

2003-02-03 Thread Stephen Lee
echo '123$456$789' | sed 's/\$/\\\$/g' 123\$456\$789 Why? The "$" means "end of line" to sed; so you have to quote it too. > -Original Message- > Maybe there is another syntax that I should use? TIA. > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Steph

OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Guang Mei
Hi: I have a quick question about replacing "$" with "\$" on unix. I need to convert string "123$45$678" to "123\$45\$678" through a pipe. I tried with sed command, but could not get it to work: essex$ echo "123$45$678" | sed s/"$"/"\$"/g 123578$ essex$ echo "123$45$678" | sed s/"$"/"\\$"/g 123

Re: OT: unix script quetion: to replace $ with \$

2003-02-03 Thread Reginald . W . Bailey
Use the translate command "tr". Type "man tr" for help with using it. RWB "Guang Mei" <[EMAIL PROTECTED]>@fatcity.com on 02/03/2003 12:39:48 PM Please respond to [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Hi: I h

Re: Unix script to stop pwd-protected listener

2002-10-11 Thread Michal Zaschke
Hi, we have lsnrctl with 750 and listener.ora with 600 permissions and everything runs fine. For "job stopping" process you can then use the encrypted password wirtten in listener.ora. HTH, Mike [EMAIL PROTECTED] wrote: > > Hi, > Solaris 8, Oracle 9i listener > > It seems that anyone

Unix script to stop pwd-protected listener

2002-10-10 Thread Long . Nguyen
Hi, Solaris 8, Oracle 9i listener It seems that anyone who has a login on Solaris can shut the listener down. I have tried with a non-dba userid and could stop the listener. The default file permission for ORACLE_HOME/bin/lsnrctl is 751, and for ORACLE_HOME/network/admin/listener.ora file is

Re: Unix script to stop password-protected listener

2002-10-09 Thread Gilles PARC
Hi Michal, It's a security breach and bug #2366907 has been opened for that. So protect carefully your listener.ora file from non privileged readers. Regards At 01:53 08/10/2002 -0800, you wrote: >Yes, you can change your listener.ora file permission up to 600 on the >server side. In a shell s

Re: Unix script to stop password-protected listener

2002-10-08 Thread Michal Zaschke
Yes, you can change your listener.ora file permission up to 600 on the server side. In a shell script you can then use encrypted password found in listener.ora on line PASSWORDS_. lsnrctl < > Hi , >We can very well protect the Server side executables by changing the > permission of the >

RE: Unix script to stop password-protected listener

2002-10-07 Thread Choudhary Rajendra (TTL_LKO)
Hi , We can very well protect the Server side executables by changing the permission of the file . We had implemented this on all our database sites and normal user don't have access to lsnrctl,svrmgrl,namesctl etc .You can also protect the listener.ora file by changing the

Unix script to stop password-protected listener

2002-10-07 Thread Long . Nguyen
Hi, Solaris 8, Oracle 9i listener It seems that anyone who has a login on Solaris can shut the listener down. I have tried with a non-dba userid and could stop the listener. The default file permission for ORACLE_HOME/bin/lsnrctl is 751, and for ORACLE_HOME/network/admin/listener.ora file is

RE: Unix Script Quest : Urgent

2002-08-10 Thread Brian_P_MacLean
Sent by: cc: [EMAIL PROTECTED] Subject:

Re: Unix Script Quest : Urgent

2002-08-09 Thread Charlie Mengler
Never say "never". The output from "truss" shows all "system calls"; which includes file opens. Here is an interesting exercise for those on *nix boxes. >From one window/session do the following ... $ sqlplus >From a different window where you are logged onto the system as root find the pid (pr

RE: Unix Script Quest : Urgent

2002-08-09 Thread chris . w . johnson
Hannah,   I'm no Unix guru either but in this situation I use 'truss',  e.g.   truss procname   HTH   Chris -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: 09 August 2002 16:08To: Multiple recipients of list ORACLE-LSubject: Un

RE: Unix Script Quest : Urgent

2002-08-09 Thread johanna . doran
> > Sent: Friday, August 09, 2002 11:48 AM > To: Multiple recipients of list ORACLE-L > Subject: Re: Unix Script Quest : Urgent > > ldd should give you the dependencies. > > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: [EMAIL PROTECT

RE: Unix Script Quest : Urgent

2002-08-09 Thread Seefelt, Beth
I think that will give you files that it successfully accessed, but not the ones that were referenced but not found. You can do what you're asking on VMS and NT, so it seems like there should be a way in Unix, although I asked my Unix SA's that same question a few years back and they said that t

Re: Unix Script Quest : Urgent

2002-08-09 Thread Peter Barnett
ldd should give you the dependencies. --- [EMAIL PROTECTED] wrote: > Is there a way to capture all files hit by a > process/user in unix (Sun Solaris 9, ksh)? I am > seeing an OCI file not found on my production box. > I can't resovle it. > > So, I want to run the same process on my develop

Re: Unix Script Quest : Urgent

2002-08-09 Thread Steven Lembark
> Is there a way to capture all files hit by a process/user in unix (Sun > Solaris 9, ksh)? I am seeing an OCI file not found on my production box. > I can't resovle it. > So, I want to run the same process on my development box (where it works) > and get a list of files that it is hitting (I ca

Unix Script Quest : Urgent

2002-08-09 Thread johanna . doran
Is there a way to capture all files hit by a process/user in unix (Sun Solaris 9, ksh)?  I am seeing an OCI file not found on my production box.  I can't resovle it.   So, I want to run the same process on my development box (where it works) and get a list of files that it is hitting (I can

RE: Unix Script --- Archive Log Destination Issue

2002-05-14 Thread Brian_P_MacLean
"Reddy, Madhusudana" estbuy.com> cc:

RE: Unix Script --- Archive Log Destination Issue

2002-05-13 Thread Reddy, Madhusudana
My mistake , this new script is only working sometimes. Which is scheduled every hour , but not working at all the hour changes . -Original Message- Sent: Monday, May 13, 2002 11:28 AM To: Multiple recipients of list ORACLE-L Hello All, I have a script, which cleans up the archive log d

Unix Script --- Archive Log Destination Issue

2002-05-13 Thread Reddy, Madhusudana
Hello All, I have a script, which cleans up the archive log destination by moving the old archive logs to a retention area based on the thresholds 1. Percent of space utilization 2. greater than 2 days old. The script was working fine , except for the reason , sometimes we see multiple copies of

RE: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
t; > From: Steven Joshua [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, May 02, 2002 6:17 PM > > To: Multiple recipients of list ORACLE-L > > Subject:Re: Does any one know how to call LDAP > from UNIX script ? > > > > Thanks for the code. > >

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Suzy Vordos
gt; > > $valid_username = 1; > > > #print "code equal to $code and count = $cnt > > > \n"; > > > my $entry = $res->entry(0); > > > $res = $ldap->bind(dn => $entry->

RE: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Koivu, Lisa
, USA 33063 > -Original Message- > From: Steven Joshua [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 6:17 PM > To: Multiple recipients of list ORACLE-L > Subject: Re: Does any one know how to call LDAP from UNIX script ? > > Thanks for the code. &g

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Suzy Vordos
gt; $valid_username = 1; > > #print "code equal to $code and count = $cnt > > \n"; > > my $entry = $res->entry(0); > > $res = $ldap->bind(dn => $entry->dn, password => > > $mypasswd) or die; > > $code = $res->code; > >

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
d(dn => $entry->dn, password => > $mypasswd) or die; > $code = $res->code; > #print "LDAP return value = $code \n"; > #die "Login failed" if $code; > if ( $code != 0 ) > { > $pwmatch = 0; > } else > { > $pwmat

RE: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Jesse, Rich
System/Database Administrator [EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA > -Original Message- > From: Charlie Mengler [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 3:54 PM > To: Multiple recipients of list ORACLE-L

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Joe Raube
nse. I'm new to LDAP, and > don't know how it works. > I need to use SQL Loader to load a text file into > Oracle817 Database from a unix box. The file/data > comes from LDAP server. My question is: how do I get > the file/object from LDAP site from my unix script? >

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Charlie Mengler
f ( $code != 0 ) { $pwmatch = 0; } else { $pwmatch = 1; } #$mesg = $ldap->search #print "mesg is $mesg"; } else { $valid_username = 0; $pwmatch = 0; #print "invalid username "; } $ldap->unbind; Steven Joshua wrote: > > Hello:

Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
Hello: Hope the subject make sense. I'm new to LDAP, and don't know how it works. I need to use SQL Loader to load a text file into Oracle817 Database from a unix box. The file/data comes from LDAP server. My question is: how do I get the file/object from LDAP site from my unix scri

Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
Hello: Hope the subject make sense. I'm new to LDAP, and don't know how it works. I need to use SQL Loader to load a text file into Oracle817 Database from a unix box. The file/data comes from LDAP server. My question is: how do I get the file/object from LDAP site from my unix scri

Re: Unix script

2002-04-16 Thread Brian_P_MacLean
cc: [EMAIL PROTECTED] 04/16/02 09:06 Subject: Re: Unix script(Document link: Brian P MacLean)

Re: Unix script

2002-04-16 Thread Brian_P_MacLean
8i Roland.Skoldbl

Unix script

2002-04-15 Thread Roland . Skoldblom
Hallo, I have this unix script, please tell me how to change it so it also does the following: (See attached file: laddabilbo.sh) counts the time between start time and end time of the process(I mean time difference between Jobb startat(Job started) and Job Klart(Job Finished). IThis log

Re: Help in unix script

2002-03-28 Thread Brian_P_MacLean
ronic.com> cc: Sent by:Subject: Help in unix script

RE: Help in unix script

2002-03-28 Thread Mark Leith
Hi Ashoke, I see that you are using NORAD (I am the resident NORAD sales critter ;P). Can't help you much on the script help, but one thing I can say: Have you looked at the IAS agent of NORAD (the system monitoring agent)? This will be able to do all that you want.. Under the standard rules (

Re: Help in unix script

2002-03-28 Thread Brian_P_MacLean
To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] 03/28/02 11:05 Subject: Re: Help in unix script(Document link: Brian P MacLean)

Help in unix script

2002-03-28 Thread Mandal, Ashoke
Greetings all, I need to do the following unix> top -b -U norad PID USERNAME THR PRI NICE SIZE RES STATE TIMECPU COMMAND 12733 norad 1 602 3936K 3392K run 0:05 7.21% dbganlz 12747 norad 4 522 13M 10M sleep 0:05 4.20% dbgora 12721 norad 1 53

RE: OT : Unix script to monitor log file size/disk space

2002-03-21 Thread CHAN Chor Ling Catherine (CSC)
Radim J. [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 5:13 AM To: Multiple recipients of list ORACLE-L Subject:RE: OT : Unix script to monitor log file size/disk space Hi, What version of unix d

RE: OT : Unix script to monitor log file size/disk space

2002-03-21 Thread Radim J.
Hi, What version of unix do you use ? I use this script on HP. If you want I can send it to you. Radim -Original Message- Ling Catherine (CSC) Sent: Wednesday, March 13, 2002 6:08 AM To: Multiple recipients of list ORACLE-L Hi Gurus, Does anyone have the unix script to monitor disk

OT : Unix script to monitor log file size/disk space

2002-03-12 Thread CHAN Chor Ling Catherine (CSC)
Hi Gurus, Does anyone have the unix script to monitor disk space or a certain file ? For example, if the disk space is more than 80%, send an email to the administrator or if the log file is too huge, email the log file to the administrator and truncate the file etc . Please help. Thanks

RE: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread Nancy McCormick
esponded for your help and suggestions. Nancy -Original Message- McCormick Sent: Friday, March 01, 2002 9:09 AM To: Multiple recipients of list ORACLE-L This may be a little off topic so I apologize in advance. But I have seen some good Unix scripting help come across lately so I tho

RE: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread marmstrong
nal Message- Sent: Friday, March 01, 2002 10:09 AM To: Multiple recipients of list ORACLE-L This may be a little off topic so I apologize in advance. But I have seen some good Unix scripting help come across lately so I thought I would go ahead and send this. I am trying to setup a Unix script t

RE: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread Kevin Lange
. I am trying to setup a Unix script that will logon to a remote server, get the name and size of all the files in a remote directory and write the results to a local directory. I need to do this to ensure that all the source files for loading our data warehouse have been received and are complete

Re: OT - Unix Script to get file name and size from remote server

2002-03-01 Thread Jack van Zanen
hought I would go ahead and send this. I am trying to setup a Unix script that will logon to a remote server, get the name and size of all the files in a remote directory and write the results to a local directory. I need to do this to ensure that all the source files for loading our data warehouse

OT - Unix Script to get file name and size from remote server

2002-03-01 Thread Nancy McCormick
This may be a little off topic so I apologize in advance. But I have seen some good Unix scripting help come across lately so I thought I would go ahead and send this. I am trying to setup a Unix script that will logon to a remote server, get the name and size of all the files in a remote

RE: UNIX SCRIPT

2002-02-15 Thread Bellows, Bambi
Here's basically what you need to do: 1) Write a script which determines which files to backup (hit the DBA and V$ tables) 2) Shutdown the database 3) Once you have those files, use them as a driver in a for|while loop (for each file, A) Check if it's raw or UFS if [ raw ] then u

Re: UNIX SCRIPT

2002-02-15 Thread Jared . Still
ACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: UNIX SCRIPT HI LIST, I AM LOOKING FOR A SCRIPT TO MAKE A COLD BACKUP FOR ORACLE 8.1.6 ON SunOS 5.7. I want to schedule this script to shutdown the database at mid night and m

RE: UNIX SCRIPT

2002-02-15 Thread Kevin Lange
Thats a rather open question. What are you doing your backup to ? Simply to another disk drive or are you putting the files out to a tape? If you are using a tape, are you using some kind of tape management software or simply copying the files to the tape ? Are you copying it all to a backup mac

UNIX SCRIPT

2002-02-15 Thread Hamid Alavi
HI LIST, I AM LOOKING FOR A SCRIPT TO MAKE A COLD BACKUP FOR ORACLE 8.1.6 ON SunOS 5.7. I want to schedule this script to shutdown the database at mid night and make a backup then start it up at 5:00 AM. Any URL or link or any document it will be very helpful. Hamid Alavi Office 818 737-0526

RE: Unix script

2002-01-29 Thread Richard Huntley
Roland, Why not have script build a log file and check for it's existence after the block of code: sqlplus -s konto/icakort > logfile.out 2>&1

RE: Unix script

2002-01-28 Thread Hallas John
Title: RE: Unix script Basis of a script added into yours below. Note I am only checking to see if there is a PMON proces up - maybe best to make a sqlplus connection and read v$instance or something and exit if it fails. Really very poor but will give you something to work on. What I

RE: Unix script

2002-01-28 Thread Thomas, Kevin
Do some research man!! This stuff isn't hard to find...sheesh!! -Original Message- Sent: 28 January 2002 14:31 To: Multiple recipients of list ORACLE-L Hallo, I have this unix script. I would like to include code which checks if the oracle database is up and running so the proc

Unix script

2002-01-28 Thread Roland . Skoldblom
Hallo, I have this unix script. I would like to include code which checks if the oracle database is up and running so the procedure konto.fillbotables.anrop doesnt start at all.. I also want an errorlog file to be created. Please tell me how to write the code and where to include it in this

Ang: RE: Unix script

2002-01-27 Thread Roland . Skoldblom
cipients of list ORACLE-L Hallo, I have this unix script. I would like to get a errorlog if the pl/sql procedure konto.fillbotables.anrop doesnt start at all. Please tell me how to write the code and where to include it in this shell script. #!/bin/sh . /usr/bin/orasetup.sh . /d31/appl/konto/

RE: Unix script

2002-01-27 Thread Boivin, Patrice J
pients of list ORACLE-L Subject: Unix script Hallo, I have this unix script. I would like to get a errorlog if the pl/sql procedure konto.fillbotables.anrop doesnt start at all. Please tell me how to write the code and where to include it in this shell script. #!/bin/sh . /usr/bin/oras

Unix script

2002-01-27 Thread Roland . Skoldblom
Hallo, I have this unix script. I would like to get a errorlog if the pl/sql procedure konto.fillbotables.anrop doesnt start at all. Please tell me how to write the code and where to include it in this shell script. #!/bin/sh . /usr/bin/orasetup.sh . /d31/appl/konto/bat/movefiles.sh sqlldr

RE: Unix - script

2002-01-11 Thread Jared . Still
ia.com.ni> cc: Sent by: Subject: RE: Unix - script [EMAIL PROTEC

RE: Unix - script

2002-01-11 Thread Veronica Levin
CLE-L Asunto: RE: Unix - script I would suggest using wget, which is built exactly for this purpose. -Original Message- Sent: Wednesday, January 09, 2002 3:20 AM To: Multiple recipients of list ORACLE-L Roland, Try this by setting up environment variables at the top of your script: SE

Re: Unix - script

2002-01-11 Thread Sundar
cesCalanais Ltd.(2nd Floor East - Weirs Building)Tel: 0141 568 2377Fax: 0141 568 2366http://www.calanais.com-Original Message-Sent: 09 January 2002 07:16To: Multiple recipients of list ORACLE-LHallo,I would like to have an example of a unix script, which does the following:copy some file

Ang: RE: Unix - script

2002-01-10 Thread Roland . Skoldblom
ear you scream' __ Kevin Thomas Technical Analyst Deregulation Services Calanais Ltd. (2nd Floor East - Weirs Building) Tel: 0141 568 2377 Fax: 0141 568 2366 http://www.calanais.com -Original Message- Sent: 09 January 2002 07:16 To: Multiple recipients of list

RE: Unix - script

2002-01-09 Thread Scott . Shafer
PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, January 09, 2002 1:16 AM > To: Multiple recipients of list ORACLE-L > Subject: Unix - script > > Hallo, > > I would like to have an example of a unix script, which does the > following: > > copy some files fr

RE: Unix - script

2002-01-09 Thread Gogala, Mladen
al Analyst Deregulation Services Calanais Ltd. (2nd Floor East - Weirs Building) Tel: 0141 568 2377 Fax: 0141 568 2366 http://www.calanais.com -Original Message- Sent: 09 January 2002 07:16 To: Multiple recipients of list ORACLE-L Hallo, I would like to have an example of a unix scr

  1   2   >