I have a system that runs a lot of cronjobs. It seems that one of these crons is consuming excessive amounts of CPU and memory on occasion.
Is there an easy way to audit CPU and memory usage of cron jobs?
|
I have a system that runs a lot of cronjobs. It seems that one of these crons is consuming excessive amounts of CPU and memory on occasion. Is there an easy way to audit CPU and memory usage of cron jobs? |
|||
|
|
|
No, not specifically, but that should not be necessary. Just use any of the common monitoring tools; most allow breaking down resource usage by process. The simplest solution would be a script that regularly runs |
||||
|
|