Search Results

Search: Posts Made By: kamauv234
1,306
Posted By kamauv234
Problem running plsql using printf command on bash shell
I am running plsql using printf on a shell, but i am getting some strange error, can someone point what exactly am i missing,



$ echo $SHELL
/bin/bash
$ printf "
> SET serveroutput ON...
1,135
Posted By kamauv234
<< Threading inside multiprocessing using queues >>
Hi All,

I am trying to achieve threading inside each process of multiprocessing. I have 2 queues one for multiprocess (process) & another inside each process. when i execute it got hung after...
1,304
Posted By kamauv234
Thanks a lot @clx perfectly Working !!!
Thanks a lot @clx perfectly Working !!!
1,304
Posted By kamauv234
<< Environmental Variables are not set when script completes >>
Hi Team,

I have a wrapper script which i have pasted below, it internally calls one python script to generate Environmental in a file called /home/oracle/myenv.sh, when i execute this script...
1,105
Posted By kamauv234
Thanks a lot ... perfectly working !!
Thanks a lot ... perfectly working !!
1,105
Posted By kamauv234
Hi Bakunin, Thanks for the reply -...
Hi Bakunin,
Thanks for the reply

- Hostlist usually less than 15 hosts only. So it wont go until 26
- I am using bash shell & linux OS
- I need a output in single line like i mentioned...
1,105
Posted By kamauv234
Filtering output from given input
Hi All,
I have a input file as below. Input file may contain more hostlists.

sample Input file
$ cat hostlist.lst
cs18-db1-1-sjl
cs22-db1-1-was
na88-db1-1-chi
...
1,241
Posted By kamauv234
thanks RudiC & Scrutinizer perfectly working...
thanks RudiC & Scrutinizer perfectly working !!!!
1,241
Posted By kamauv234
Thanks for you reply, It throwing some code...
Thanks for you reply, It throwing some code error. Can you pls check


$ cat aa
#!/bin/bash
set -x
nodecount=10
host=na7-db1-1-chi
IFS=- read -A H <<< "$host"
C=({A..Z})
for ((i=1;...
1,241
Posted By kamauv234
<< generate alphabets and append in the input values >>
Hi Team,
Pls help to get the desired output.

I have a input like below

nodecount=10
host=na7-db1-1-chi


nodecount can be 10 or 8 based on this we need a output (in single line) like...
2,632
Posted By kamauv234
Thanks for your email, My intention is to...
Thanks for your email,

My intention is to make use of only that password function inside the perl script & avoid from the password prompt each and every time

Regards
Kannan
2,632
Posted By kamauv234
thanks for your reply ! Sorry i forgot the...
thanks for your reply !

Sorry i forgot the attachment. Pls find the link to see the script.

https://drive.google.com/file/d/0B3Q72L1SBsJFOG5VM1ZCWmxKbzQ/edit?usp=sharing

Regards
Kannan
2,632
Posted By kamauv234
Thanks for your reply ! My intention is to...
Thanks for your reply !

My intention is to ssh mutiple hosts from jump server without passing the password each and every time. We have perl script to accept the password & run to the mutliple...
2,632
Posted By kamauv234
How to automatically store/cache password for kerberos authentication
Hi All,

I am currently writing script to get the details for lot of hosts from jump server. Means each and every time it will ssh to the host and get the information. To achieve that I need to...
14,079
Posted By kamauv234
Thanks all for the valuable reply !!!
Thanks all for the valuable reply !!!
14,079
Posted By kamauv234
thanks perfectly working !
thanks perfectly working !
14,079
Posted By kamauv234
Combine multiple awk commands
Hi Team,

I am getting input like below

$ ps -ef | grep pmon | grep -v asm | grep -v grep
oracle 3246 1 0 00:03 ? 00:00:01 ora_pmon_racora1
oracle 4367 1 0 00:03 ? ...
1,059
Posted By kamauv234
Thanks a lot ... for your help !!!!
Thanks a lot ... for your help !!!!
1,059
Posted By kamauv234
Thanks a lot for your reply ... But i got the...
Thanks a lot for your reply ... But i got the output like below .. which means one disk is repeated in 2 .sql files. Thanks !!

$ more asm_disk_add_1.sql
set echo on timing on feedback on
spool...
1,059
Posted By kamauv234
Split the files using line as a argument
Hi Team,
I have a input file like below

$ cat disklist.txt
disk1
disk2
disk3
disk4
disk5
disk6
disk7
disk8
disk9
diskA
diskB
diskC
diskD

I wanted to split this contents into...
3,474
Posted By kamauv234
Thanks all for the reply !!! its working fine !!!
Thanks all for the reply !!! its working fine !!!
3,474
Posted By kamauv234
Thanks for the reply. I am getting below error...
Thanks for the reply. I am getting below error while using the above code

$ awk -v p="$(date --date '1 day ago' +'%a %b %d')" '$0 ~ p {f=1} f==1 && /ORA-/ {print}' alert_APDSPRD.log
date: illegal...
3,474
Posted By kamauv234
Thanks for the reply. simple grep statement will...
Thanks for the reply. simple grep statement will collect all the ORA- errors from alertlog file (Contains all records) .. But I need only previous day ORA- errors ...
3,474
Posted By kamauv234
Get Previous day error from alertlog
Hi All,

I want to get the all ORA- related errors from attached logfile for previous day. Pls help. Thanks !

Regards
Kamal
943
Posted By kamauv234
Thanks a lot for your help
Thanks a lot for your help
Showing results 1 to 25 of 43

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