Get the process ID JBoss 7 / EAP 6:
pgrep -f org.jboss.as
A shell script:
if [ -z "$(pgrep -f org.jboss.as)" ] then echo "JBoss is NOT running" else echo "JBoss is running" fi
Get the process ID JBoss 7 / EAP 6:
pgrep -f org.jboss.as
A shell script:
if [ -z "$(pgrep -f org.jboss.as)" ] then echo "JBoss is NOT running" else echo "JBoss is running" fi