![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Monitor Disk Space | sam786 | Shell Programming and Scripting | 3 | 02-08-2008 06:56 PM |
| Automatic disk labeling | kwachtler | SUN Solaris | 1 | 09-25-2006 10:21 PM |
| Automatic monitor disk-space | nfbeerse | Shell Programming and Scripting | 3 | 03-01-2004 04:16 AM |
| available disk space on disk device??? | alan | UNIX for Dummies Questions & Answers | 4 | 01-02-2004 03:06 AM |
| paging space & monitor | Erik Rooijmans | UNIX for Dummies Questions & Answers | 2 | 05-13-2003 12:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|