Comparing log files
The IBM® Monitoring and Diagnostic Tools - Garbage Collection and Memory Visualizer can plot data from multiple log files on the same chart. You can use this function to compare the behavior of applications that have different system settings or command-line options. You can also correlate different kinds of output from the same application.
About this task
Procedure
- Open the hosting tool.
- Open the first log file that you want to compare.
- In the menu bar, click , then browse
for the second log file that you want to compare and click Open.
You can select multiple files from the same directory.Each file is shown in a tab within the Data set tab.
Results
What to do next
To remove a log file from the comparison click the Remove variant from comparison icon in the Variants section of the Key window.
Sometimes comparing files by plotting them on the same graph is not practical. For example, if you compare three files and plot five different items of data, the resulting graph displays 15 lines, which might be too many to be easily viewed. You might prefer to open the files individually, then drag the data set tabs to arrange the windows so that you can see the different files at the same time.