LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2013, 02:41 PM   #1
slufoot80
Member
 
Registered: Nov 2011
Posts: 69

Rep: Reputation: Disabled
Cool 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
 
Old 01-03-2013, 05:47 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
So what have you done (code) so far?
 
Old 01-04-2013, 09:03 AM   #3
slufoot80
Member
 
Registered: Nov 2011
Posts: 69

Original Poster
Rep: Reputation: Disabled
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
 
Old 01-06-2013, 07:58 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
  


Reply

Tags
monitor, process, unix



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Process Status D webee Linux - General 12 07-08-2019 04:03 PM
[SOLVED] process status ak.lokesh Linux - Newbie 2 01-21-2011 02:44 PM
How to know a process status by it's ID sivareddy_jntu Linux - Networking 2 08-24-2009 07:28 AM
status of running process Ammad Linux - General 2 09-01-2008 01:55 AM
how to get process status using pid? hongxing Linux - Software 2 04-11-2006 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration