stop.sh 121 B

12345
  1. #!/bin/bash
  2. for i in $(ps -ef | grep alarm-1.2-exec.jar | grep -v grep | awk '{print $2}'); do
  3. kill -9 "$i"
  4. done