10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a script that connects to the oracle database and executes the query statements. it works fine and i would like to add some message to check if the connection to oracle is not successful.
basically this is the code snippet:
sqlplus -s username/password@dbName... (2 Replies)
Discussion started by: wtolentino
2. Shell Programming and Scripting
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
3. Shell Programming and Scripting
I have an epoch time input file such as : -
I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4. Shell Programming and Scripting
Does anyone know why my Perl script is hanging when i execute it.
print "looking around ...\n";
my ($out, $err, $exit) = $scon->cmd('ls');
i get the following error:
channel 1: open confirm rwindow 131043 rmax 32768
I'm using use Net::SSH::W32Perl Module.... (4 Replies)
Discussion started by: Phi01
5. Shell Programming and Scripting
ok... this is where i am at... i need a script to call another script as a wrapper because the first script creates a sub-shell.
here is what i got... i kick off the first script "CCBDEMO-threadpoolworker.sh"
clear #clearing screen
directory="/data1/spl/cis/CCBDEMO/bin"... (1 Reply)
Discussion started by: Dagaswolf
6. Shell Programming and Scripting
I have the following shell script and when i execute, it keeps hanging and nothing happens
Please let me know.
Requirement is to read data from file and pass it to the sql and create files as shown.
while read user.dat
echo "user = $1 email =... (1 Reply)
Discussion started by: rakeshsr12
I want to create a script to simulate a process that hangs to test a java application. My java app executes a system command, which can also be executing scripts, etc. Any ideas on such a script?
The java code is:
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("sh... (4 Replies)
Discussion started by: brendan76
8. UNIX for Dummies Questions & Answers
I am new at developing EXPECT scripts. I'm trying to create a script that will automatically connect to a UNIX server via FTP and download a log file from the server within a specified server directory on the remote machine. I'm having problems with the EXPECT script "hanging" at the password... (0 Replies)
Discussion started by: markus2008
9. Shell Programming and Scripting
Greetings to everyone,
I have a script which inturn calls couple of other scripts in different servers (solaris) to do a server startups on the respecitve boxes.
My script ...
. ./siebenv.sh... (2 Replies)
Discussion started by: vivsiv
10. UNIX for Dummies Questions & Answers
Need your help pls...
I have integrated my shell script with sqlplus statements that will fetch necessary data for the rest of the script. As observed, sometimes problems at the oracle database occurs wherein users can not login via sqlplus, so does the script. During execution, the logging of... (4 Replies)
Discussion started by: inquirer