1
0
Files
irix-657m-src/irix/cmd/stress/mfg/scripts/start_splock
2022-09-29 17:59:04 +03:00

8 lines
351 B
Tcsh
Executable File

#!/bin/csh
set totmemsize=`hinv -t memory | nawk '{print $4}'`
set fracsize=`expr $totmemsize \* 3 / 10`
echo Starting splock test on ${fracsize} megs of memory | tee -a /usr/tmp/ostests.log
echo "OS SPLOCK Log file" > /usr/tmp/os-splock.log
date >> /usr/tmp/os-splock.log
/usr/diags/os/bin/splocks -m ${fracsize} -l 1000 >>& /usr/tmp/os-splock.log &