![]() |
|
|
|
|
|||||||
| Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Monitor Disk Space | sam786 | Shell Programming and Scripting | 3 | 02-08-2008 02:56 PM |
| Automatic disk labeling | kwachtler | SUN Solaris | 1 | 09-25-2006 07:21 PM |
| Automatic monitor disk-space | nfbeerse | Shell Programming and Scripting | 3 | 03-01-2004 12:16 AM |
| available disk space on disk device??? | alan | UNIX for Dummies Questions & Answers | 4 | 01-01-2004 11:06 PM |
| paging space & monitor | Erik Rooijmans | UNIX for Dummies Questions & Answers | 2 | 05-13-2003 09:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Automatic monitor disk-space
Hello,
I am trying to find a shell script to monitor diskspace of all the directories in the server. When the script encounteres a disk which above the treashold, I want an email notification. My system runs on AIX. Is there anybody around who can help me with such a script? Regards Anuradha |
| Forum Sponsor | ||
|
|
|
|||
|
Hi,
you can just follow the one suggested by ghostdog74 and my point here is to use "df -kp" which will let the script use the POSIX output format so that, awk will always take the right field from df o/p. Otherwise in conditions like when you have lengthy devive names usage of "df -k | awk..... would pickup the wrong feild and so may raise false alarms on your disk space!! -ilan |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|