Category Archives: shell

get jboss7 server state with shell script

Shell script (status.sh) bellow returns three jboss server state :

  • STOPPED : jboss is stopped (script could not connect with jboss-cli)
  • STARTING : jboss is starting (its state is running but project is not deployed)
  • RUNNING : jboss is ready (its state is running and project is deployed successfully)

Use :


> ./status.sh /path/to/jbossHome

This script may be improved …
Also you need to replace in code myArtifactName fake value by your right value

get last 10 log of several svn projects

We have 10 projects checked out from svn repo:
/workspace/proj1
/workspace/proj2
/workspace/proj3
… etc

get last 10 log of several svn projects with shell comand line :