diff --git a/guides/_subsections/perform-garbage-collection.md b/guides/_subsections/perform-garbage-collection.md new file mode 100644 index 0000000..eb0923a --- /dev/null +++ b/guides/_subsections/perform-garbage-collection.md @@ -0,0 +1,33 @@ +## [Perform Garbage Collection](#perform-garbage-collection) +
    +
  1. + {% capture perform-garbage-collection-text %} +

    + The Diagnostics card allows + you to perform diagnostic operations on a target JVM through remote access to supported Java MXBeans. +

    +

    + Currently Cryostat supports invoking garbage collection on target JVMs. +

    + {% endcapture %} + {% include howto_step.html + summary="Add the Diagnostics Card" + image-name="4.0.0/dashboard/add-diagnostics-card.png" + caption="Click on the Diagnostics card for a preview." + text=perform-garbage-collection-text + %} +
  2. +
  3. + {% capture diagnostics-card-finish %} +

    + After clicking Finish, the card will be added to the dashboard. You can click the Start Garbage Collection button in the middle of the card at any time to trigger a garbage collection cycle. +

    + {% endcapture %} + {% include howto_step.html + summary="Finish Card Creation" + image-name="4.0.0/dashboard/diagnostics-card.png" + caption="The Diagnostics card displayed on the dashboard." + text=diagnostics-card-finish + %} +
  4. +
\ No newline at end of file diff --git a/guides/index.md b/guides/index.md index 92fa78b..dbe6cf8 100644 --- a/guides/index.md +++ b/guides/index.md @@ -59,5 +59,7 @@ common actions and workflows of interest and why they are useful. {% include_relative _subsections/using-smart-triggers.md %} +{% include_relative _subsections/perform-garbage-collection.md %} + [comment]: # ## [Analyze Recordings Online](#analyze-recordings-online) [comment]: # TODO diff --git a/images/4.0.0/dashboard/add-diagnostics-card.png b/images/4.0.0/dashboard/add-diagnostics-card.png new file mode 100644 index 0000000..13afd99 Binary files /dev/null and b/images/4.0.0/dashboard/add-diagnostics-card.png differ diff --git a/images/4.0.0/dashboard/diagnostics-card.png b/images/4.0.0/dashboard/diagnostics-card.png new file mode 100644 index 0000000..223e555 Binary files /dev/null and b/images/4.0.0/dashboard/diagnostics-card.png differ