Commit e424c5c2 by jajapi

fixed Integration_uxen_check.sh

parent f61256f7
......@@ -22,7 +22,7 @@ function CHECK_MEMORY()
DRAW_A_LINE
}
function KPF_CHECK_PROCESS()
function WEB_CHECK_PROCESS()
{
echo -e "\n-------------- Check Process --------------"
......@@ -461,7 +461,7 @@ function GET_SUMMARY()
function CMS_MAIN()
{
GET_DATE
CMS_CHECK_PROCESS
CHECK_PROCESS
UXEN_DSTAT
GET_VM_LIST
CMS_UXEN_VERSION_CHECK
......@@ -504,7 +504,7 @@ function WEB_MAIN()
function KPF_MAIN()
{
GET_DATE
KPF_CHECK_PROCESS
CHECK_PROCESS
KPF_RUN_DSTAT
GET_VM_LIST
KPF_VERSION_CHECK
......@@ -527,7 +527,7 @@ function KPF_MAIN()
function KPF_LOCAL_MAIN()
{
GET_DATE
KPF_CHECK_PROCESS
CHECK_PROCESS
KPF_RUN_DSTAT
GET_VM_LIST
KPF_LOCAL_VERSION_CHECK
......@@ -545,21 +545,27 @@ function KPF_LOCAL_MAIN()
GET_SUMMARY
}
if[-e /opt/uxen3]
VAR=0
if [ -e /opt/uxen3 ];
then
CMS_MAIN
VAR=1
fi
elif[-e /opt/pengx3]
if [ -e /opt/pengx3 ];
then
WEB_MAIN
VAR=1
fi
elif[-e /home/orchard/uxen_new]
KPF_MAIN()
else
if [ -e /home/orchard/uxen_new ];
then
KPF_MAIN
VAR=1
fi
if [ $VAR -eq 0 ]
KPF_LOCAL_MAIN
if
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment