LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux file syswtem monitoring script (https://www.linuxquestions.org/questions/linux-newbie-8/linux-file-syswtem-monitoring-script-906700/)

srajeshkumar 10-06-2011 03:15 AM

Linux file syswtem monitoring script
 
Hi All,
Can anyone help me with the script for file system monitoring in Linux please. Thanks

corp769 10-06-2011 03:38 AM

Hello,

What script are you talking about? Or are you talking about creating a new script? You need to be more specific with your questions so we can better assist you.

Cheers,

Josh

srajeshkumar 10-06-2011 08:17 AM

Hi Josh,
Thanks for helping me I am looking for a shell script where I can monitor the file system of a linux server if the file system crosses the threshhold level then there should be some kind of alert message. Hope this clarifies. Thanks

Quote:

Originally Posted by corp769 (Post 4491385)
Hello,

What script are you talking about? Or are you talking about creating a new script? You need to be more specific with your questions so we can better assist you.

Cheers,

Josh


TB0ne 10-06-2011 08:45 AM

Quote:

Originally Posted by srajeshkumar (Post 4491510)
Hi Josh,
Thanks for helping me I am looking for a shell script where I can monitor the file system of a linux server if the file system crosses the threshhold level then there should be some kind of alert message. Hope this clarifies. Thanks

There are many scripts already written to do this, which you can easily find on Google. For example:
http://www.howtogeek.com/51848/hard-...linux-servers/
http://www.cyberciti.biz/tips/shell-...isk-space.html

You can also find THOUSANDS of scripting tutorials that can tell you how to write your own. Read the man pages on "df" and "smartctl".


All times are GMT -5. The time now is 12:38 PM.