@bartus...it showing the following error
tc95air1(root)# ./script2
df: unknown option: P
Usage: df [-F FSType] [-abeghklntVvZ] [-o FSType-specific_options] [directory | block_device | resource]
awk: syntax error near line 1
awk: illegal statement near line 1
@michael: it's executing and givin the output
but the o/p seems to be wrong
tc95air1(root)# ./script1
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s6 9.8G 724M 9.0G 8% /unused2
but when i run df -h the following records are shown
tc95air1(root)# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 20G 8.8G 11G 46% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 2.4G 2.1M 2.4G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
swap 2.4G 424K 2.4G 1% /tmp
swap 2.4G 40K 2.4G 1% /var/run
/dev/dsk/c1t0d0s5 9.8G 106M 9.6G 2% /unused1
/dev/dsk/c1t0d0s7 16G 1011M 15G 7% /export
/dev/dsk/c1t0d0s6 9.8G 724M 9.0G 8% /unused2
/dev/dsk/c1t0d0s3 9.8G 6.3G 3.4G 65% /voice1
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
20G 8.8G 11G 46% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
20G 8.8G 11G 46% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
the output doesn't match with the records as it's showing a file system with "8%" usage which is less than 75%
.....please help me with this..