I am using R that uses a wrapper function for the fork() utility. I would like to see how many child processes are running at a given time from the shell. Naturally, these child processes all run under the parent R process that invoked the wrapper function, so I have the pid of the ultimate parent. I have tried various arguments to the 'ps' command, but to no avail. Any suggestions?
R: 2.9.0 (2009-04-17)