Tagged articles
jstat
18 articles · Page 1 of 1
A systematic guide to troubleshooting high CPU usage on Linux servers, covering per-core analysis with mpstat, CPU time breakdown via vmstat, process and thread identification with top and pidstat, and scenario-specific root cause analysis using perf, jstat, iostat, and cgroup metrics for Java GC, kernel syscalls, I/O wait, softirq, and container throttling.
CPUGCLinux
0 likes · 21 min read

This article explains why frequent Minor GC in Java applications stems from high object allocation rates or premature promotion to old generation, not heap size, and details generational collection mechanics, promotion thresholds, dynamic age judgment, and troubleshooting using jstat, GC logs, and AsyncProfiler to pinpoint allocation hotspots.
Allocation RateAsyncProfilerGC Logs
0 likes · 18 min read

This article explains how to differentiate memory leaks from out‑of‑memory errors, identifies classic GC‑based leak signals, introduces a toolchain (jstat, jmap, MAT, Arthas, JProfiler), walks through a step‑by‑step investigation workflow, lists common leak patterns, presents a real‑world ThreadLocal leak case, and offers preventive measures such as monitoring, regular heap dumps, code review, and stress testing.
ArthasGCJava
0 likes · 9 min read

This guide explains how to use JDK command-line utilities such as jps, jstat, jinfo, jmap, jhat, and jstack to monitor JVM processes, inspect memory usage, generate heap dumps, and diagnose performance issues, providing command syntax, options, and practical examples.
command-line-toolsjmapjps
0 likes · 8 min read

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

This article introduces core JVM performance and monitoring utilities—including jps, jstack, jmap, jhat, jstat, and hprof—explains their command syntax, demonstrates practical steps to locate high‑CPU threads, analyze heap dumps, and interpret GC statistics, and provides concrete code examples for Java developers.
JVMJavaPerformance Tuning
0 likes · 13 min read

The article recounts a weekend on‑call incident where a Java monitoring service suffered network packet loss and a severe memory leak, leading to massive timeouts, high CPU usage, and frequent GC, and explains how the problem was diagnosed and resolved using tools such as top, jstat, jstack, jmap, and MAT.
JVMJavaMemory Leak
0 likes · 9 min read

This guide explains where Java's command‑line tools reside, why they are small wrappers around tools.jar, and provides detailed usage, options, and examples for the most common diagnostics utilities—including jps, jstat, jinfo, jmap, jhat, and jstack—helping developers monitor and troubleshoot JVM processes effectively.
JDKdiagnostic toolsjmap
0 likes · 7 min read


ITPUBMar 22, 2021 · Operations
This guide explains how to systematically investigate Java application problems across CPU, disk, memory, and network layers using Linux utilities and Java tools such as jstack, jstat, jmap, iostat, vmstat, and network commands, providing concrete commands and analysis steps to pinpoint root causes.
jstackjstattroubleshooting
0 likes · 21 min read

This article presents a systematic experiment that compares four different IntelliJ IDEA memory configurations on a MacBook Pro, measuring IDE startup time, project loading speed, and JVM garbage‑collection metrics with jstat to identify the most efficient setup for large Java monoliths and micro‑service projects.
IDE performanceIntelliJ IDEAJVM memory tuning
0 likes · 11 min read

This article details a systematic experiment that compares default, modest, balanced, and aggressive JVM memory configurations for IntelliJ IDEA, measuring startup time, project load speed, and garbage‑collection behavior on a large monolith and micro‑service projects, and concludes with practical tuning recommendations.
IDE optimizationIntelliJ IDEAJVM
0 likes · 10 min read

This guide explains how to use the jstat command-line tool to monitor Java Virtual Machine performance metrics such as garbage collection, memory usage, and compilation time, detailing its syntax, options, intervals, counts, and providing concrete examples with expected outputs.
GC statisticsJVM monitoringJava performance
0 likes · 19 min read

This article explains common JVM problems such as OutOfMemoryError, memory leaks, and thread deadlocks, then introduces core monitoring tools—jps, jstack, jmap/jhat, jstat, and hprof—detailing their syntax, options, and practical examples to help Java developers diagnose and tune production applications.
HprofJVMjmap
0 likes · 15 min read

This article reports a systematic experiment that compares four IntelliJ IDEA memory configurations on a large Java monolith and two micro‑services, measuring startup, project loading times and JVM garbage‑collection metrics with jstat to identify the most efficient setting.
IDE performanceIntelliJ IDEAJVM
0 likes · 11 min read

This article reports a systematic experiment that compares four IntelliJ IDEA memory configurations on a MacBook Pro, measuring startup time, project loading speed, and garbage‑collection behavior with jstat, and concludes that allocating more heap (2‑4 GB) significantly improves IDE responsiveness for large codebases.
IDE performanceIntelliJ IDEAJVM memory
0 likes · 11 min read

This guide introduces essential JVM performance monitoring tools—including jps, jstack, jmap, jhat, jstat, and hprof—explains their command syntax, demonstrates step‑by‑step usage with real‑world examples, and shows how to interpret their output to diagnose memory leaks, thread issues, GC behavior, and CPU hotspots.
HprofJVMPerformance Monitoring
0 likes · 14 min read

This article explains the jstat command syntax, options, and detailed parameter descriptions for monitoring JVM class loading, memory usage, garbage collection, JIT compilation, and other runtime statistics, providing examples and visual tables to help developers analyze Java process performance.
JVMJavaPerformance Monitoring
0 likes · 7 min read

This article explains how to identify and resolve intermittent high CPU usage in Java/Tomcat services by analyzing thread stacks with jstack, examining GC behavior with Jstat, and using Jmap for memory inspection, providing step‑by‑step commands and practical tips for ops engineers.
CPUJavaTomcat
0 likes · 7 min read
