Not that I know off, but it can be achieved with some small bash scripts. For example:
https://stackoverflow.com/questions/...ption-on-linux
Also, you could use combinations of watch and ps, in this way:
Code:
watch 'ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head'
When you see what it does, you could redirect its output to some file, or even use tee command to both display output in terminal and append it to some file. Use man watch, man ps and man tee to find some solution that you will be satisfied with, like what intervals you want to watch and how to achieve that with watch command. You could also use something like:
Code:
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head >> watchlog
That will give you output of top 9 processes by cpu usage(replace that part with --sort=-%mem to get by memory usage) and append it to file watchlog. If you set it as cron job, it could give you what you want. Just remember to clean that file from time to time, or to make bash script that will do that for you and run it every week, month or so.