Tagged articles

jcmd

5 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Aug 11, 2026 · Operations

Why Relying Only on top and jstack Is Outdated: Embracing JDK Flight Recorder for Modern Java Troubleshooting

The article explains how JDK Flight Recorder (JFR) provides low‑overhead, continuous JVM event recording that outperforms traditional snapshot tools like top, jstack, and jmap, and offers practical commands and use‑cases for diagnosing CPU spikes, GC issues, thread contention, and latency problems in production Java services.

JDK Flight RecorderJava performanceProduction Troubleshooting
0 likes · 13 min read
Why Relying Only on top and jstack Is Outdated: Embracing JDK Flight Recorder for Modern Java Troubleshooting
Programmer DD
Programmer DD
Mar 10, 2022 · Operations

Master JDK Built‑in Tools to Diagnose Java Application Issues

This guide walks through using JDK's native command‑line and GUI utilities—such as jps, jinfo, jvisualvm, jstat, jstack, and jcmd—to monitor JVM performance, inspect GC behavior, analyze thread dumps, and troubleshoot memory configuration problems in Java programs.

JDK toolsJVM diagnosticsJVisualVM
0 likes · 16 min read
Master JDK Built‑in Tools to Diagnose Java Application Issues
Programmer DD
Programmer DD
Jul 24, 2020 · Operations

Mastering jcmd: Essential Java Debugging Commands and Examples

jcmd, introduced in JDK 7, is a powerful built‑in Java diagnostic tool that lets you send commands to running JVMs, replace utilities like jstack and jmap, and perform tasks such as listing processes, printing thread stacks, retrieving heap information, and using Java Flight Recorder.

Heap DumpJFRJVM diagnostics
0 likes · 6 min read
Mastering jcmd: Essential Java Debugging Commands and Examples
FunTester
FunTester
Nov 27, 2019 · Operations

How to Capture Java Heap Dumps Efficiently with jmap, jcmd, and JVisualVM

This guide explains multiple ways to capture Java heap dumps—including jmap, JVM flags, jcmd, JVisualVM, JMX, and programmatic methods—detailing command syntax, best‑practice options, and step‑by‑step procedures for effective memory‑issue diagnosis.

Heap DumpJVisualVMMemory Analysis
0 likes · 6 min read
How to Capture Java Heap Dumps Efficiently with jmap, jcmd, and JVisualVM