commit | e7f01ee544bad1dafc2ae8111f1c34d01d0f8482 | [log] [tgz] |
---|---|---|
author | tom <tom@onlab.us> | Fri Oct 10 00:17:33 2014 -0700 |
committer | tom <tom@onlab.us> | Fri Oct 10 00:17:33 2014 -0700 |
tree | 28ff7fb4335a5b53f1099ffcdb7b2ccce3fb1832 | |
parent | 093340b44cb10eaea1e6c7a09d1079c4cfc06a15 [diff] |
Speeding up stuff. HostDescription now passes up just a single IpAddress.
diff --git a/tools/package/bin/onos-jpenable b/tools/package/bin/onos-jpenable new file mode 100755 index 0000000..7c69602 --- /dev/null +++ b/tools/package/bin/onos-jpenable
@@ -0,0 +1,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