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.
- 10-10-2011 #1Just Joined!
- Join Date
- May 2009
- Posts
- 38
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
- 10-10-2011 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,664
Well, pstree leaps to mind, check it out. Even ps ought to get you most of what you want. Try something like:
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.Code:ps -eo user,pid,ppid,cmd|grep YOUR_PROCESS_NAME


Reply With Quote
