I know the command top, but top only shows the actual numbers for cpu and memory usage. But sometimes many numbers fluctuate very quickly, so it's hard to find out which processes really need much of cpu time.

Is there a way to display the accumulated cpu time during the last 15 Minutes or last 2 hours? Maybe along with maximum memory usage.


It's not quite what you were looking for but the htop command will show you the amount of CPU time each process has used since the last reboot.

| improve this answer | |

Not exactly what you are looking for but the following command

 top -o TIME+

will get the top sorted by accumulated CPU time since the process started.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.