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 as host: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 from userdir. 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