I would like to find a tool such as top, that runs in a terminal, but that keeps a cumulative total of real/user/system time used.
|
feedback
|
|
top already keeps a cumulative total of time spent on the cpu (user+system) I believe. That's what's listed in the TIME+ field:
'real time' probably isn't that interesting to watch - it's just the amount of elapsed time since the process started. If you're interested in hacking it up yourself, everything you need is in /proc/*/stat :) Or try using ps:
(the very last line is probably closest to what you actually ask :) | |||
|
feedback
|
|
I don't know if I understand correctly, but | |||||||||
feedback
|