Quote:
Originally Posted by nallanisai
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.