[CLUE-Tech] Partial file troubles

Grant Johnson grant at amadensor.com
Wed Jan 9 13:24:51 MST 2002


Keith Hellman wrote:

>Have you looked at 'lsof'?
>
Works great on my machine, but lsof does not exist on the machine at 
work, and I am not root.  What I have so far is.....

#!/usr/bin/ksh
lssavelen=`echo start`
lslen=`ls -l $1`
while(test "$lssavelen" != "$lslen")
do
  lslen=`ls -l $1`
  sleep 10
  lssavelen=`ls -l $1`
done
echo "done"
echo $lslen





More information about the clue-tech mailing list