- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ksh command sqlplus and timeout
Operating System - HP-UX
1820012
Members
3522
Online
109608
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 11:44 AM
тАО02-15-2011 11:44 AM
Hi
huh I'm probably turning around the solution.
Here my draft (of course it doesn't works)
spout="$(
$ORACLE_HOME/bin/sqlplus -silent "/ as sysdba" << EOF &
set echo off feedb off head off
connect test/test
/
exit success
EOF
sleep 4
kill %% 2>&1
)"
IN fact, i want to run this command and terminate after 5 seconds whatever is finished or not. (because sometime if instance not available cionnection is hanging)
Could you help me to find the good key. I'm not too far ....
Bests regards
Den.
huh I'm probably turning around the solution.
Here my draft (of course it doesn't works)
spout="$(
$ORACLE_HOME/bin/sqlplus -silent "/ as sysdba" << EOF &
set echo off feedb off head off
connect test/test
/
exit success
EOF
sleep 4
kill %% 2>&1
)"
IN fact, i want to run this command and terminate after 5 seconds whatever is finished or not. (because sometime if instance not available cionnection is hanging)
Could you help me to find the good key. I'm not too far ....
Bests regards
Den.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2011 02:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2011 01:24 PM
тАО02-16-2011 01:24 PM
Re: ksh command sqlplus and timeout
Hi James
Of course the trick with a function. It's the key !
Excellent
Thanks a lot.
Bests Regards
Den
Of course the trick with a function. It's the key !
Excellent
Thanks a lot.
Bests Regards
Den
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP