Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rousse

  1. rousse

    SIGBUS and SIGSEGV Errors in HP-UX 11 and Oracle 9i

    Dear mackpei, Our SIGBUS/SIGSEGV problem came from a piece of code like this: void foo1( void ) { STRUCT_ABC *ptr_StructAbc; ptr_StructAbc = new STRUCT_ABC; ptr_StructAbc = foo2( param1 ); ... } If you need more help, please let me know. Regards, <rousse>
  2. rousse

    Pointer/Memory Leak Challenge

    chipperMDW, Thank you.
  3. rousse

    Pointer/Memory Leak Challenge

    Hello, Can anyone find what the (memory leak) problem is in this code segment: -------------------------- void foo1( void ) { A *a = appArray.iterate( 0 ); B *b; b = new B; ... b = foo2( a->id ); ... delete b; } Note that foo2 returns B* --------------------------- Thank you.
  4. rousse

    Check Oracle connection from ksh script

    Hello, I implemented successfully this: ${ORACLE_HOME}/bin/tnsping ${ORACLE_SID} > /dev/null if [[ $? -eq 0 ]]; then #Oracle is up... #...do something... else #Oracle is down... #...do something... fi Thanks. <rousse>
  5. rousse

    SIGBUS and SIGSEGV errors in HP-UX 11 and Oracle 9i

    Paresh, This is a complex challenge. :-) After confirming (and excluding) many variables, I decided that it's a memory leak related issue. However, I didn't have the proper tool available to troubleshoot (e.g., PurifyPlus, Insure++, etc.) Thus, I found a different (workaround) solution that...
  6. rousse

    Check Oracle connection from ksh script

    Vlad, I tried - man tnsping - but got this: No manual entry for tnsping. What path is missing from the MANPATH env var? Thanks. PP
  7. rousse

    Check Oracle connection from ksh script

    Hello, What is a simple way to check ONLY if Oracle is &quot;alive&quot;, i.e. there is a connection from within a korn shell script? Thank you.
  8. rousse

    How to get the process id via KSH or AWK

    Dear PHV, It works!!! Thanks a lot! PP
  9. rousse

    How to get the process id via KSH or AWK

    Hello, I want to check with a ksh script if another process is running and get the process id, too. Also, I am able to get the following line: userid 2345 1 0 13:58:52 pts/tg 0:00 abcd -a devl -f /home/cfg/abcd.cfg How can I retrieve the pid value - 2345 - and assign it to a local...
  10. rousse

    SIGBUS and SIGSEGV errors in HP-UX 11 and Oracle 9i

    What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario? There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
  11. rousse

    SIGBUS and SIGSEGV Errors in HP-UX 11 and Oracle 9i

    What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario? There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
  12. rousse

    SIGBUS and SIGSEGV Errors in HP-UX 11 and Oracle 9i

    What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario? There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...

Part and Inventory Search

Back
Top