Getting CPU Usage of a running child process

From: Arijit Das
Date: Thu Mar 02 2006 - 04:18:25 EST


The times() function gets me the system/user CPU usage of me (invoking
process) and all my terminated/waited children.

Is there any User Space API/way for me (a process) to get the
system/user CPU usage of one of my currently running child process? Am
looking for a portable solution...not sure if there is any

Thanks,
Arijit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/