Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.


  2. #2
    Well, pstree leaps to mind, check it out. Even ps ought to get you most of what you want. Try something like:

    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