#!/bin/rc

# show the current status of the grid

#echo ''
echo GRID STATUS REPORT
echo -----------------
echo ''
echo Active Registries:
lc /tmp/grid/registries
#echo ''
echo Missing Registries:
lc /tmp/grid/miareg
#echo ''
echo Dead Registries:
lc /tmp/grid/dedreg
#echo ''
#echo -----------------
echo ''
echo Attached services:
lc /tmp/grid/svcin
#echo ''
echo Missing Services:
lc /tmp/grid/miasvc
#echo ''
echo Dead Services:
lc /tmp/grid/dedsvc
#echo ''
#echo ------------------
echo ''
echo Exported services:
lc /tmp/grid/svcout
#echo ''
#echo ------------------
echo ''
echo Last command:
tail -n 1 /tmp/grid/log/log
echo ''
