Identify PID for remote database handle



How can I find the server pid for a sqlplus session which is logged on
remotely inside a perl program... I can find the local PID using $$ or
$PID, but how can I find the pid for the statement/database handle which
is actually logged onto the database doing the work...

Env: Oracle, Solaris


Catharine Drozdowski
Mentor Graphics Corporation
IT Systems Services
1 503 685 7906




Relevant Pages

  • Re: pid from startet process
    ... perl script and need to know the childs pid. ... but the pid i am getting is not right. ... And the shell executes the command. ... that it can execute internally. ...
    (comp.lang.perl.misc)
  • Re: pid from startet process
    ... perl script and need to know the childs pid. ... but the pid i am getting is not right. ... That shell then creates a new process to ... execute the command named in the $cmd parameter. ...
    (comp.lang.perl.misc)
  • PID=0 and other newbie questions
    ... I am a newbie Linux user trying to run a pet server to learn more about the ... Is PID 0 even legal? ... it should be easy to do a Perl daemon that checks for PID of zero ... I hacked together a script that cleans logs after they reach a certain size, ...
    (comp.os.linux.security)
  • Re: Perl killed after child spawn
    ... I'm finding that if my C++ child process bombs out with signal ABRT ... (this is on Solaris btw, with Perl v5.8.4), then Perl dies. ... if ($pid) { ... As long as Americans honor Lincoln so highly, there is probably no hope for ...
    (comp.lang.perl.misc)
  • Re: Wait for background processes to complete
    ... have the perl program wait for the commands to complete. ... Fork doesn't ... the shell exits. ... of the process, but - if it's the pid of the shell process, then we're ...
    (comp.lang.perl.misc)