LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Solaris 9 Process status (http://www.linuxquestions.org/questions/linux-newbie-8/solaris-9-process-status-4175444015/)

slufoot80 01-03-2013 02: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 05:47 PM

So what have you done (code) so far?

slufoot80 01-04-2013 09: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 07: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 http://www.softpanorama.org/Solaris/...nagement.shtml.
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 10:29 AM.