onos-jpenable 197 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 #!/bin/bash kpid=$(ps -ef | grep karaf.main.Main | grep -v grep | cut -c10-15 | tr -d ' ') [ -z "$kpid" ] && echo "No ONOS!" && exit 1 /opt/jprofiler8/bin/jpenable --gui --port=8849 --pid=$kpid