-   Linux - Newbie (
-   -   Solaris 9 Process status (

slufoot80 01-03-2013 03:41 PM

Solaris 9 Process status
I have an issue where a process runs out of control, and I need to monitor this, what I want to do for now is just have it email me when the process memory or swap runs out I want it to email me before it gets to a certain level

chrism01 01-03-2013 06:47 PM

So what have you done (code) so far?

slufoot80 01-04-2013 10:03 AM

I don't have any code yet or commands , I am asking what I would use, i.e. top or ps I want to run a command and have it check to see if it hits a threshold and email us I have the email but what would command would I use to parse from

chrism01 01-06-2013 08:58 PM

I don't have access to Solaris 9, but I'd write script in ksh (or possibly Perl; my normal weapon of choice for stuff like this) & parse the output from top or prstat & possibly swap cmd
If it exceeds your specified threshold(s), send an email.

You may want to ask the mods (via the Report button) to move this to the Solaris forum.

All times are GMT -5. The time now is 02:42 PM.