In a C program running in Unix, how does the parent know the amount of
memory used of its child?
I am using fork() and then execlp() to execute a program. And I need to
calculate the maximum memory used of that program.
Thank you very much!
--
- By Hackker
****************************************************
Mr. Hackker Wong,
Y99 Student of Computer Science,
The Chinese University of Hong Kong.
****************************************************
-The World can't run without computer technicians-
>Hi,
>
>In a C program running in Unix, how does the parent know the amount of
>memory used of its child?
As far as the C language is concerned there is no way to get such
information. A good place to discuss Unix system features is
comp.unix.programmer.
--
-----------------------------------------
Lawrence Kirby | fr...@genesis.demon.co.uk
Wilts, England | 7073...@compuserve.com
-----------------------------------------