#! /bin/sh
if [ -d /usr/local/bcnu ]
then
	BCNUHOME="/usr/local/bcnu"
else

	echo "Enter directory name of bcnu home:[/usr/local/bcnu] \c"
	read home
	if [ -z "$home" ]
		then
			BCNUHOME="/usr/local/bcnu"
		else
			BCNUHOME=$home
	fi
fi
cd $BCNUHOME

. $BCNUHOME/etc/bcnuenv

echo "Please wait.."
#find $BCNUHOME/data/hosts/ -name "ag_*" -exec expr {} : '.*/ag_\(.*\)\.status' \;`

cd $BCNUHOME/data/hosts
for dir in `ls`
	do
		cd $dir
		rm ag_net*
		mv ag_fs.status fs
		mv ag_procs.status procs
		mv ag_uptime.status uptime
		mv ag_vmgt.status vmgt
		mv ag_vmstat.status vmstat
		mv ag_av.status av
		mv ag_msgs.status msgs
		cd ..
	done
