Tryag File Manager
Home
-
Turbo Force
Current Path :
/
etc
/
vmware-caf
/
pme
/
scripts
/
Upload File :
New :
File
Dir
//etc/vmware-caf/pme/scripts/is-listener-running
#!/bin/sh processName="CommAmqpListener" pid=$(ps aux | egrep "${processName}" | egrep -v "color=auto|grep" | awk '{print $2}') if [ -z "$pid" ]; then printf "false" else printf "true" fi