diff --git a/sh/30_crs.sh b/sh/30_crs.sh new file mode 100644 index 0000000..5991176 --- /dev/null +++ b/sh/30_crs.sh @@ -0,0 +1,14 @@ +# script à exécuter si couche grid/crs + +count=$(ps -ef | grep ohasd | grep -v grep | wc -l) + +if [ $count -gt 0 ]; then + + echo "

Services CRS

" + # les process dbvisit en cours + + BIN_DIR=$(dirname $(ps -ef | grep ohasd.bin | grep -v grep | awk '{print $8}')) + echo "
"
+	${BIN_DIR}/crsctl status res -t
+	echo "
" +fi \ No newline at end of file