Sign in
apache
/
incubator-heron
/
refs/heads/0.14.9.1-heapprof
/
.
/
tools
/
dev
/
profiler
/
attachProfiler.sh
blob: 7772099ab8004955cba850ec9995d8dbd593dbbd [
file
] [
log
] [
blame
]
#!/bin/bash
yourkit_version
=
$1
service
=
$2
instance
=
$3
yourkit_port
=
`cat yourkit.port`
instance_pid
=
`cat ${instance}.pid`
echo
Attaching
profiler agent
...
./
$
{
yourkit_version
}/
bin
/
yjp
.
sh
-
attach $
{
instance_pid
}
port
=
$
{
yourkit_port
}
echo
Attached
...