![]() |
Getting Notification when disk space cross a threshold value
I am writing a programm on linux ( ubuntu)
i have a requirement that when the available disk ( hard disk ) space crosses a certain limit ( specified by me ) , then i should get a call back from the OS . can somebody tell me how to do that ? I want this notification to come when any of the disks ( C drive , D Drive ... ) free space cross a specified thrreshold value. |
confusing ...
you say linux and you also say 'C' and 'D' drive which is more unique to dos-like operating systems. If you really want to keep a watch on disk space you can use this link http://www.cyberciti.biz/tips/shell-...isk-space.html do you want to mount 'C','D' drives of some other machines using samba into a central machine and watch them ? The above script will anyway work for almost all the mounted cases. |
Quote:
Sorry for the confusion , I mean, i want to get notification from OS whevent the free space for any of the "mounted drives" goes below a threshold value . |
Did you even read the script ?.
Won't take much to modify it - perhaps you should make some effort to do it yourself. |
Quote:
See here for an example. |
| All times are GMT -5. The time now is 06:14 AM. |