I own a root server and I would like to log, if any process uses more than X-amount of Ram.

Does anyone know a good script or an existing program for that?

  • What Unix is this server running? – Kusalananda Feb 18 '17 at 11:18

There are no direct ways for that. But you can script easily a nagios plugin for that (but not only for nagios, also for any system monitoring and alarming software what you are using).

If you don't use any, you can make a cron script for that, too.

For the command line to show processes using the most memory, check this answer.

| 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.