Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: v$session.program

Re: v$session.program

From: <yong321_at_yahoo.com>
Date: 3 May 2005 07:07:19 -0700
Message-ID: <1115129239.922331.195790@g14g2000cwa.googlegroups.com>


Correction. execlp() takes the file basename as its first argument and relies on $PATH to search for its executable. Some other calls such as execl() takes the full path. In either case, its second argument is char *arg0 and you can set it to anything, to fool `ps -f` output, for instance.

My earlier message (you said you don't understand) was mumbling about Oracle server process changing its `ps -f` output, so that you see "oracleSID (LOCAL=NO)" instead of just "oracle". But here we're talking about client process. Hence your confusion. I apologize.

Yong Huang Received on Tue May 03 2005 - 09:07:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US