LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-16-2011, 04:26 PM   #1
nallanisai
LQ Newbie
 
Registered: Dec 2010
Location: Bangalore
Distribution: Red Hat Linux
Posts: 28

Rep: Reputation: 0
script to send the swap is running out of requirement an alert to mail


Hi,

Last edited by nallanisai; 07-16-2011 at 08:42 PM.
 
Old 07-16-2011, 04:34 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by nallanisai View Post
Hi,
can anyone provide me the script...when ever the swap is above threshold or full...it should send an alert to mail..
Thanks in Advance.
No, sorry. First, you don't provide details (like what the threshold IS, what language the script is in, how you want mail to be formatted, etc.), and second, we're not here to write your scripts for you, just like we weren't going to write it for you last time you asked: http://www.linuxquestions.org/questi...d-df-h-871000/

We will be very happy to HELP you...post what you've written, and where you're stuck, and we'll be glad to work through it with you. Otherwise, there are thousands of bash scripting tutorials you can easily find on Google, that can get you going.

Last edited by TB0ne; 07-16-2011 at 04:37 PM.
 
0 members found this post helpful.
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OPENNMS -how can i get disk space alert & memory alert BY MAIL saravanakumar Linux - Server 11 05-30-2014 08:45 AM
Seek script to monitor sizes of list of files and send alert if size changes Jon_Roland Linux - Security 3 03-28-2011 04:37 PM
LXer: Perl script to monitor disk space and send an email alert LXer Syndicated Linux News 1 02-23-2007 01:12 PM
send alert when new mail arrives disorderly Linux - General 2 11-09-2006 03:53 PM
CGI Script runs to send mail, but mail is never sent robertwo Linux - Newbie 2 06-10-2004 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:58 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