A good utility to use to try to determine the source of the problem is the timex(1) utility. timex will report how a particular application is using its CPU processing time. The format is:
timex -s programwhich shows program's real (actual elapsed time), user (time process took executing its own code), and sys (time of kernel services for system calls) time. For example:
The above command executes the ps -el command and then displays that program's time spent as:timex -s ps -el
real 0.95
user 0.08
sys 0.41