get process id

Jean-Pierre A. Radley appl at jpr.com
Tue Oct 12 12:44:22 PDT 2004


Jean-Pierre A. Radley propounded (on Tue, Oct 12, 2004 at 01:21:41PM -0400):
| Bob Stockler propounded (on Tue, Oct 12, 2004 at 10:31:50AM -0400):
| | On Mon, Oct 11, 2004 at 07:02:02PM -0400, Brian K. White wrote:
| | | 
| | | Under Linux, ps refused to run in a shell spawned by a suid program.
| | 
| | The process I wrote worked on my Red Hat Linux 7.2 system.
| | 
| | | The OP in this discussion really waned the PID of the filepro process, 
| | | which the PPID of a user command gives.
| | 
| | I was advised of that in private email.
| 
| Try running John DuBois' proctree in that USER command, using:
| 	proctree -AHd2 -PPPID proctree | head -1

Works like a charm, but that should be -d3, not -d2,


-- 
JP


More information about the Filepro-list mailing list