process long args / "[ process_name ]" / shadow process?

process long args / "[ process_name ]" / shadow process?

Post by Michael Wa » Mon, 29 Jul 2002 08:49:24



(1) Is there a another/better way to find a process's long arguments
besides "/usr/ucb/ps -auxwww"?

(2) I know a process has very long arguments. It is truncated when I
use /bin/ps. But when I use "/usr/ucb/ps -auxwww", it only shows
the process name inside [...]. Like this:

root     16298  0.0  0.3 1044  708 pts/6    S 18:22:18  0:00 [ rman ]

How do I find the process's complete, long arguments.

(3) What is the definition of "a shadow process"? Why Oracle's
pmon and smon process are called shadow processes?

If you post, I would appreciate a email copy as well.

Thanks.
--
Michael Wang
http://www.unixlabplus.com/

 
 
 

process long args / "[ process_name ]" / shadow process?

Post by Nithyanandham » Mon, 29 Jul 2002 09:28:22



> (1) Is there a another/better way to find a process's long arguments
> besides "/usr/ucb/ps -auxwww"?

A closer alternative will be to use
/usr/bin/ps with -l and -f options.

Quote:> (3) What is the definition of "a shadow process"? Why Oracle's
> pmon and smon process are called shadow processes?

comp.databases.oracle will be a better place to ask this.

--

Nithyanand.
Siemens, Bangalore, India.
(Opinions expressed are my own and do not reflect the opinions of my
employer, SIEMENS)

 
 
 

process long args / "[ process_name ]" / shadow process?

Post by Greg Andre » Mon, 29 Jul 2002 12:41:41



>(3) What is the definition of "a shadow process"? Why Oracle's
>pmon and smon process are called shadow processes?

You need to ask Oracle what they mean when they use that term.
It's not a term that's used in the general Unix community, nor
in the Solaris community.

  -Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.

 
 
 

process long args / "[ process_name ]" / shadow process?

Post by Stephane CHAZELA » Mon, 29 Jul 2002 19:34:41



> (1) Is there a another/better way to find a process's long arguments
> besides "/usr/ucb/ps -auxwww"?

> (2) I know a process has very long arguments. It is truncated when I
> use /bin/ps. But when I use "/usr/ucb/ps -auxwww", it only shows
> the process name inside [...]. Like this:

> root     16298  0.0  0.3 1044  708 pts/6    S 18:22:18  0:00 [ rman ]

> How do I find the process's complete, long arguments.

[...]

I guess the rman args contains a newline character. I remember
having used this trick on Solaris to hide sensitive informations
in arguments:
  - put the sensitive information past the 80th char so that
    /usr/bin/ps can't show it
  - insert a newline so that /usr/ucb/ps is fooled.

So, I hope there's no way to work around this !

--
Stphane

 
 
 

1. changing what "ps" sees as the args to a process ?

couldn't find this in a FAQ, so at the risk of appearing newbie-ish,
what do i have to do to change what "ps" sees as the arguments to a process?
i have heard that "sendmail" does this to make for easier debugging, a neat
trick if so, and one i would like to learn.

--
i'm killing time while i wait for life to shower me with meaning and happiness.

       Mike Nemeth   Virtual Universe Corp   Calgary, Alberta, Canada

2. AfterStep Configuration Problem

3. Where is the source code to process "route" or "ifconfig" command?

4. Informed opinion: dip vs. term?

5. erroneous "hello" from forked "hello world" process!

6. Wanted: Linux Journal Back Issues

7. What is process "local 6 9" and "mailserv"

8. YDL and Mac OS X

9. A "dbx lite" program for "zapping" a running process?

10. "Ulimit" for processes started from "inittab"

11. Bizarre "find" process running under owner "nobody"

12. GETSERVBYNAME()????????????????????"""""""""""""

13. Zombie processes "owned" by apache processes ...