![]() |
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 |
| Perl script to check free disk space | susja | Shell Programming and Scripting | 1 | 06-28-2008 04:24 AM |
| free space for load servers | DILEEP410 | UNIX for Dummies Questions & Answers | 5 | 01-19-2007 02:24 AM |
| free space, associated by filesystem name... | mr_manny | SUN Solaris | 2 | 10-31-2005 12:47 PM |
| Does unix ever misreport free space? | JustKen | Filesystems, Disks and Memory | 3 | 08-14-2004 01:01 AM |
| Device Free Space | jorge.ferreira | UNIX for Dummies Questions & Answers | 1 | 12-12-2003 11:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
You can start from here:
Code:
df -h | awk -v _=8 '/ad9/ && $4 ~ "[*G]" && int($4) >= _ {exit _}'
if [ $? -eq 8 ]
then echo run # do something here
fi
Last edited by danmero; 09-25-2008 at 11:52 PM.. Reason: make life complicated |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|