#!/bin/bash # For different version update keyword correctly go get jboss process like jboss-eap-7.x procCount=`ps -ef |grep “jboss-eap-6.4/” |grep -v grep |wc -l` if [
#!/bin/bash # For different version update keyword correctly go get jboss process like jboss-eap-7.x procCount=`ps -ef |grep “jboss-eap-6.4/” |grep -v grep |wc -l` if [