#!/bin/sh

MAINCLASS=com.uino.thingjs2.demoserver.ServerMain

pid=`ps -ef | grep $MAINCLASS|grep -v grep|awk '{print $2}'`
if [ ${#pid} -ne 0 ]; then
   echo $MAINCLASS ..............has Started! ${pid}
else
   echo $MAINCLASS ..............has Stopped!
fi

