From Fedora Project Wiki
Description
This test case tests if stand-alone commands work OK. Note that these stand-alone commands can also be used in the thermostat interactive shell.
Setup
- Boot into the machine/VM you wish to test.
- If thermostat is not installed yet, install thermostat.
- Start the thermostat service:
thermostat service &
How to test
- For every stand-alone command (dump-heap, find-objects, find-root, list-heap-dumps, object-info, save-heap-dump-to-file, show-heap-histogram, vm-info and vm-stat) do the following:
- Self-learn how the command is supposed to be used:
thermostat help <name-of-command>
. Alternatively run the command without any option. - Run the command via
thermostat <name-of-command>
- Self-learn how the command is supposed to be used:
- The first seven commands are related to heaps. The last two give you information on a particular JVM (vm-info) or provide statistics about this JVM (vm-stat)
Expected Results
- For all commands help information should be available and should not fail in an unexpected way.