#!/bin/ksh
let "k = 100 - `/a/usr/sbin/df -k  /a/usr  | awk '{ getline ; print $5}' | cut -d% -f1` - 1"
cfsadmin -c -o maxblocks=$k,threshblocks=90 /a/usr/cache