LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Script for creating df -h output (https://www.linuxquestions.org/questions/linux-server-73/script-for-creating-df-h-output-4175475157/)

rajini23 08-29-2013 07:12 AM

Script for creating df -h output
 
Hi,

I wants to create the script for df -h output.we are facing an issue in some nfs mount points it is getting hanged frequently.

we wants to have a script when df -h output getting hanged that time mail should be triggered to us.or else it should not trigger...

can you please help in getting this script...

I use RHEL5 server..

TB0ne 08-29-2013 08:51 AM

Quote:

Originally Posted by rajini23 (Post 5018176)
Hi,
I wants to create the script for df -h output.we are facing an issue in some nfs mount points it is getting hanged frequently. we wants to have a script when df -h output getting hanged that time mail should be triggered to us.or else it should not trigger...

can you please help in getting this script...I use RHEL5 server..

As you have been told SEVERAL TIMES NOW...we are NOT going to write your scripts for you. We will be happy to HELP you if you're having a problem, but YOU have to show some effort of your own. So, post what you've written/tried so far, and tell us where you're stuck. Otherwise, we will AGAIN tell you to see one of the many easily-found bash scripting tutorials...again, such as the one in my posting signature.

And, again....you're using RHEL5...have you contacted Red Hat support for help with NFS, since you're PAYING for RHEL, right?


All times are GMT -5. The time now is 02:50 PM.