Hi -
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?
Thanks!
Version info:
Linux: 2.6.27.19-170.2.35.fc10.x86_64
R: 2.9.0 (2009-04-17)