#!/bin/bash
########################################################################
#  Copyright (c) amitego engineering GmbH, www.amitego.com
########################################################################
# extend the tarantella sub commands


TTABASE=$TTAINSTDIR
#set -x

die () 
{
	>&2 echo $*
	exit -1
}

echo "---------------------------------------------------"
echo "Objects in $TTABASE"
$TTACMD version | grep Oracle
echo "preferences:    $(find $TTABASE/var/preferences/ -type f | wc -l)"
echo "password cache: $(find $TTABASE/var/password/ -type f | wc -l)"

for name64 in $(ls  -1 $TTABASE/var/ens)
do
 name=$(echo $name64 | base64 -d)
 echo "Objects $name: $(find $TTABASE/var/ens/$name64 -type f | wc -l)"
done
echo "---------------------------------------------------"


