| oct98.tar |
Figure 2: Diagnostic command execution and output compilation
echo "Collecting second batch of Netstat Statistics" echo " " > /tmp/slow1.netstat2.$$ echo "NETSTAT 2" >> /tmp/slow1.netstat2.$$ $NETSTAT >> /tmp/slow1.netstat2.$$ 2>&1 echo "Collecting second batch of NFS Statistics" echo " " > /tmp/slow1.nfsstat2.$$ echo "NFSSTAT 2" >> /tmp/slow1.nfsstat2.$$ $NFSSTAT >> /tmp/slow1.nfsstat2.$$ 2>&1 #Time to concatenate all the output files into alphanumeric order sleep 1 cat /tmp/slow*.$$ > /tmp/slo.output.$$ #Clean up our temporary files rm /tmp/slow*.$$
|