![]() |
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 space utilization in recursive mode | sureshg_sampat | Shell Programming and Scripting | 1 | 06-02-2008 01:56 PM |
| Please help - disk space check script | maddhadder71 | Shell Programming and Scripting | 0 | 05-08-2008 08:16 AM |
| Creating a shell script to check filesystem space | heprox | AIX | 10 | 06-18-2006 10:07 PM |
| pageing space vs swap space | VeroL | UNIX for Dummies Questions & Answers | 1 | 01-22-2004 11:54 AM |
| Check directory space? | lesstjm | Shell Programming and Scripting | 3 | 04-19-2002 09:10 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
check space !!!
The have written the below script :-
============================ SPACE=`bdf /DATA_TRANSFER|awk '{print $4}' |grep "%"` TEST="96%" if [ "$SPACE" < "$TEST" ] then echo "Continue ....." sleep 2 else echo " Current space for DATA_TRANSFER is less than 02 %" echo " Pls clear space and than continue ....." sleep 3 exit 1 fi but after execution it give's following error:- ================================ + ./checkspace[4]: 96%: cannot open I am running the same on HP-UX 11.11 version and in ksh shell. Can you assist in resolving the same ? |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|