Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Triggers didn't loaded automatically from file

Moderators: Vladimir Kondratyev, Anton Katilin

Triggers didn't loaded automatically from file

Postby D.M » Fri Oct 05, 2018 3:24 pm

Hi, I used YJP 2018.04-b86

Added triggers file,
CpuUsageListener usageThresholdPercent=40 minimumTimeToActivate=5s maxTriggerCount=-1
StartCpuSampling
WaitForEventToFinish maxTimeToWait=30s
CapturePerformanceSnapshot fileName={sessionname}-{date}-{pid}
StopCpuProfiling
Sleep duration=10s

HeapMemoryUsageListener usageThresholdPercent=70 minimumTimeToActivate=0s maxTriggerCount=-1
CaptureMemorySnapshot fileName={sessionname}-{date}-{pid}

added agentlib into app
-agentpath:/opt/ykjp20184/libyjpagent.so=exceptions=disable,delay=10000,sessionname=platform,triggers=/opt/jkjp20184/triggers.txt,probe_auto=*,probebootclasspath=/opt/ykjp20184/yourkit.jar

From yjp.log

80 18.04-86 0.471: setTriggers:
81
82 18.04-86 0.540: setTriggers: to unregister: 0
83 18.04-86 0.540: setTriggers: method listeners to register: 0
84 18.04-86 0.540: setTriggers: OK
85 18.04-86 0.540: ourUnsafe: true
86 18.04-86 0.540: shmem 42341490: OK

Thanks for support.
D.M
 
Posts: 1
Joined: Fri Oct 05, 2018 3:17 pm

Re: Triggers didn't loaded automatically from file

Postby Vladimir Kondratyev » Tue Oct 09, 2018 6:21 am

Please provide full content of /opt/jkjp20184/triggers.txt and full agent log.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1459
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 17 guests