1

process CPU consumption determination?

view story
linux-howto

http://stackoverflow.com – I have a process which exec another process. From the parent process I am monitoring the CPU consumption of child process by prusage_t pr_utime.tv_sec + pr_utime.tv_nsec. I am waiting for process CPU consumption to increase and starts the timeout for child process. It might possible that CPU consumption of the child process may not increase due to process is waiting for response to come. What could be other ways to check if the process actually got the CPU and start running. Thanks Arpit My question is how can check if the child process got the CPU and started executing in a heavy load sy (HowTos)