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