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
|
So what have you done (code) so far?
|
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
|
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 02:23 AM. |