-
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
-
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.