
#/bin/ksh
set +x
DATUM=`date '+%y%m%d%H%M'`
{
for i in nlnaf03
do
echo "Top write vols:"
/appl/tsu/bin/ssh ${i} stats show volume:*:write_data|sort -nr -t : +3|head
echo "Top read vols:"
/appl/tsu/bin/ssh ${i} stats show volume:*:read_data|sort -nr -t : +3|head
echo "Top CIFS qtrees:"
/appl/tsu/bin/ssh ${i} qtree stats|sort -rn +3 |head
echo "Top NFS qtrees:"
/appl/tsu/bin/ssh ${i} qtree stats|sort -rn +2 |head
done
}> ${HOME}/ftop/nlnaf03_ft_${DATUM} | at now 2>/dev/null
#
{
for i in nlnaf04
do
echo "Top write vols:"
/appl/tsu/bin/ssh ${i} stats show volume:*:write_data|sort -nr -t : +3|head
echo "Top read vols:"
/appl/tsu/bin/ssh ${i} stats show volume:*:read_data|sort -nr -t : +3|head
echo "Top CIFS qtrees:"
/appl/tsu/bin/ssh ${i} qtree stats|sort -rn +3 |head
echo "Top NFS qtrees:"
/appl/tsu/bin/ssh ${i} qtree stats|sort -rn +2 |head
done
}> ${HOME}/ftop/nlnaf04_ft_${DATUM} | at now 2>/dev/null

