Verify if any JAR file is running in server


The requirement is to verify if any specific JAR file is running in the server.

So in this case, we use below grep command to know which JARs are in execution status.

 ps -ef | grep $JAR_FILE | grep -v -e "grep"

*/

No comments:

Post a Comment