![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| check position of end of line(URGENT PLS) | evvander | Shell Programming and Scripting | 6 | 11-11-2007 05:46 PM |
| (URGENT) Mounting JFS2 FileSystem on AIX 4.3 | aldowsary | AIX | 3 | 02-06-2007 04:50 AM |
| Creating a shell script to check filesystem space | heprox | AIX | 10 | 06-18-2006 10:07 PM |
| Script to check for a file, check for 2hrs. then quit | mmarsh | UNIX for Dummies Questions & Answers | 2 | 09-16-2005 02:46 PM |
| SCIO Unix Filesystem type - Urgent | budrito | Filesystems, Disks and Memory | 2 | 08-28-2002 12:16 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Urgent:FileSystem Check Script
This script monitors a FileSystem named /Monthly and send a page; works great but I need to monitor /Daily/All ....Im getting Syntax Error
MSG=`df -Ik|awk '$6~/Monthly$/{gsub("%"," "); if ($5>20){print "FS:Monthly filesystem is "$5"%"}}'` if [ "$MSG" != "" ] then echo $MSG | mail 2149724690@mobilecomm.net fi ------------------------------------------------------------- I need to check another filesystem called /Daily/All Thanks for your help |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|