VISUALVM(1)
π VISUALVM β the manual, but make it make sense π
okay bestie, welcome to the VISUALVM(1) page, filed under User Commands. this is the glow-up of a manpage and we're doing it together, hand in hand, no cap. π«Ά
β¨ NAME β¨
VisualVM β the All-in-One Java Troubleshooting Tool. she does it all, she's the whole package, main character energy fr fr. π
πΈ SYNOPSIS πΈ
jvisualvm [OPTIONS]
that's it. that's the whole vibe. you run jvisualvm, you throw some OPTIONS at her, she goes. π
π¦ DESCRIPTION π¦
so like, VisualVM is a tool to monitor and troubleshoot Java applications. that's the assignment and she ate. π
she runs on Java 7 or higher β yes, she's running on the newer stuff β but here's the iconic part: she's still able to monitor applications running on JDK 1.4 and higher. backwards compatibility? we love to see it. π
the way that she does this is by utilizing various available technologies, lowkey a whole squad: jvmstat, JMX, the Serviceability Agent (SA), and the Attach API. she uses all of them to get the data, and then β and this is the part that's giving genius β she automatically uses the fastest and most lightweight technology to impose minimal overhead on the applications she's monitoring. she's polite. she's considerate. she does not make your app suffer just because she's watching. periodt. β¨
π OPTIONS π
one bullet per flag, no skips, no shortcuts, we're thorough in this house. π
--openjmx <arg>β open the application specified by a JMX connection, written ashost:port. that's your entry point, bestie, go through the door. π₯--openfile <arg>β open the file specified by<arg>. and listen, that file can be an Application snapshot, a NetBeans Profiler snapshot, or an HPROF heap dump. three flavors, all valid, all iconic. π--openid <arg>β open the application with id<arg>. you know the id? then you know the girl. π--openpid <arg>β open the application with process id<arg>. pid girlies rise up. π«Ά--laf <LaF classname>β use the given LookAndFeel class instead of the default. change the whole outfit, why not. π--fontsize <size>β set the base font size of the user interface, measured in points. accessibility icon behavior, we support it. π--locale <language[:country[:variant]]>β use the specified locale. note the nesting situation:language, then optionally:country, then optionally:variant. copy that shape exactly, bestie, don't freestyle it. π--userdir <path>β use the specified directory to store user settings. that's her room. she keeps her stuff there. π¦--cachedir <path>β use the specified directory to store user cache. β οΈ heads up: it must be different fromuserdir. they cannot be the same directory, no exceptions, not negotiable, not even a little. π¨--nosplashβ do not show the splash screen. sometimes you just want her to get to the point without the entrance. she respects that. π--helpβ show this help. she'll hand you the manual herself. β¨--jdkhome <path>β path to the JDK. point her at it, she'll find it. β-J<jvm_option>β pass<jvm_option>to the JVM. note that it's glued directly onto the-J, no space, that's the format. yes it's a little unhinged, that's just how she is. π
π SEE ALSO π
more information and tutorial videos are available on the VisualVM site at:
https://visualvm.github.io
go watch the videos, bestie, they're giving educational content and we're obsessed. π§
okay that's the whole page, you're basically a VisualVM expert now, iykyk. slay, no cap, go monitor something. πβ¨
this was brought to you by VisualVM 2.0.4, dated May 2014, and filed back under VISUALVM(1) where she belongs. mwah. π π
π¦ where this page comes from
- debian bookworm: visualvm 2.1.5-1 Β· CDDL-1.1 OR GPL-2-with-Classpath-exception
- debian trixie: visualvm 2.1.10-1 Β· CDDL-1.1 OR GPL-2-with-Classpath-exception
- ubuntu jammy: visualvm 2.0.6+dfsg-1 Β· CDDL-1.1 OR GPL-2-with-Classpath-exception
- ubuntu noble: visualvm 2.1.8-1 Β· CDDL-1.1 OR GPL-2-with-Classpath-exception
- ubuntu questing: visualvm 2.2-1
- ubuntu resolute: visualvm 2.2-1build1 Β· CDDL-1.1 OR GPL-2-with-Classpath-exception
- ubuntu stonking: visualvm 2.2-1build1 Β· CDDL-1.1 OR GPL-2-with-Classpath-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms