Log analysis tools - input and output

The following table lists the log analysis tools in the Control-M/Agent Toolbox, along with details about the input parameters and output of each tool:

Tool

Input parameters

Output

1 - Time gaps in log

1 - Time gap

The minimum length (in milliseconds) of gaps to search for in the log file. The default is 30 milliseconds.

A list of detected gaps in the agent proclog file

2 - Log file full path

The full path to the agent proclog file that you want to analyze

2 - Analyze daily log

1 - Number of logs

The number of previous daily logs to include in the test. To analyze only today's daily log file, type 0. The default is 0.

A list of alerts for jobs that took a long time to submit (exceeding the specified threshold), as detected in each of the daily logs

2 - Alert threshold

The length of time (in seconds) that a job took to submit, beyond which to issue an alert. The default is 120 seconds.

3 - Check Memory Leaks

1 - Print Output to Terminal

Whether to display the output on-screen, either y (yes) or n (no). The default is n. If you set this parameter to y, ensure that the Output File Name parameter is set to an empty value, enclosed in quotes ("").

NOTE: To ensure that leaks are detected, set the agent debug level to 6 (the highest value).
Use the following command:

  • (UNIX) agdbglvl 6
  • (Windows) agdbglvl -agent <instanceName> 6

 

A list of leaks in threads, where a malloc function was not followed by a free function, as detected through the proclog files.

If you set the debug level of this test to a value above 0, a log file is created for this test in the same directory.

2 - Output File Name

The name of an output file to save in the same directory as the analyzed log files. The default is checkmemoryleak_outputfile.txt.

3 - Logs Directory

The path to the directory that holds the log files that you want to analyze for memory leaks. The default is the proclog directory.

4 - Filter for log files

Analyze only log files with a certain naming pattern. The default pattern is "*.log".

5 - Debug level

Level of logging for this test, from 0 (no logging) to 4 (most detailed logging). The default is 0.

Parent Topic

Control-M/Agent Toolbox