If I have a process that spawns child processes, is there a good way to get a single number representing the combined CPU use of that process and its children?  i.e is there a simple shell command available, or perhaps some info in /proc?Target OS is either Centos or Ubuntu.
How can I find the CPU resource utilization of a process and all its children
monitoring;cpu;sar;iostat