Re: current cpu usage



How many of those shell script paragraphs can you see in the
pprof.famind ? The number of dots before the command name indicates
the level of fork/exec .. do a ps -fp on all the top level PIDs to see
what has fired them off to give you an indication of what is going
on .. then if you understand what the scripts do then you can stop/
kill them one at a time. If it is a shell script firing of fork/execs
(cut,awk,sed,tr) in a tight loop then its gonna be pretty obviuos as
the size of the paragraph for your top level PID is gonna be big and
the levels of fork/exec will also be fairly deep ( 4+ etc ) ..

The other thing would be smaller parapraghs of PID fork/exec levels
but more of them, so run pprof for for 15 seconds every minute etc..


.