Computing.Net > Forums > Unix > Number of child process

Number of child process

Reply to Message Icon

Original Message
Name: Benn
Date: October 17, 2002 at 05:46:57 Pacific
Subject: Number of child process
OS: Unix
CPU/Ram: n/a
Comment:

Hi,
could anyone tell me if there is a way in unix to determine the number of child processes that a process has? I couldn't find anything on the man page for 'ps'



Report Offensive Message For Removal

Response Number 1
Name: alex
Date: October 17, 2002 at 10:57:33 Pacific
Subject: Number of child process
Reply: (edit)

When you type "ps -ef" the first column is user ID, the second is process ID and the third is the ID of parent process. Just write the script to match the numbers


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Number of child process

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software