Find the answer to your Linux question:
Results 1 to 2 of 2
Is there any software (or UNIX/Linux command) that I can use to find out what process is attaching to another process and is controlling it? I have a process that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    45

    Controlling process


    Is there any software (or UNIX/Linux command) that I can use to find out what process is attaching to another process and is controlling it?

    I have a process that is running on SLES10 SP3. This process output is altered to produce the wrong result. I am trying to find out the attach to the system.

    Thx

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Well, pstree leaps to mind, check it out. Even ps ought to get you most of what you want. Try something like:

    Code:
    ps -eo user,pid,ppid,cmd|grep YOUR_PROCESS_NAME
    The 3rd column in the output is the pid of the parent process of each process. So you could then run another ps and grep for that pid, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •