Questions tagged [jcmd]

jcmd utility is used to send diagnostic command requests to a running Java Virtual Machine (JVM). Like when you need stack trace, heap dump, vm arguments, system properties etc.

Below are official links for more details on jcmd

https://docs.oracle.com/javase/8/docs/technotes/tools/windows/jcmd.html https://docs.oracle.com/javase/9/tools/jcmd.htm

48 questions
0
votes
1 answer

JCMD for different user

I need to grab parameters from jcmd for process, which started by other user on same PC. But I can't do it using admin account. I also tried to use 'runas' function, but have same result. Is there a way to catch this process, except using the same…
Igor Matsko
  • 59
  • 1
  • 1
  • 12
0
votes
1 answer

Jetty doesn't show up in jcmd

When I launch jcmd it shows me all java processes except Jetty, why? JCmd: [root@test_app_bm 2015_06_01_18_19_47_13098]# /usr/java/latest/bin/jcmd 15152 sun.tools.jcmd.JCmd 21785 DummyTrkPartner.jar Ps aux: [root@test_app_bm…
Eugene To
  • 1,890
  • 2
  • 19
  • 30
-1
votes
1 answer

how to start Java NMT

I am trying to enable Native memory tracking in CMD with the below command. java -XX:NativeMemoryTracking=[off|summary|detail] But getting an error like : 'summary' is not recognized as an internal or external command, operable program or…
1 2 3
4