Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos
/
5fe04e0624acddd98ee9514fda881a4f08c2f9e5
/
.
/
tools
/
package
/
bin
/
onos-jpenable
blob: 7c69602a07bef988a3b904be885dad57f697a2c2 [
file
] [
log
] [
blame
]
#!/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