Troubleshooting
In N2OS v25.6.0, and later, you can use command-line interface (CLI) commands to print the contents, statistics, and configuration parameters of the commit logs. This information helps monitor synchronization status and diagnose potential issues. Outputs are provided in JavaScript Object Notation (JSON) format for easier parsing and analysis.
Print the contents of the commit log
| Product | CMC, Guardian |
| Syntax | ids commit_log_entries [{"limit":
<number>}] |
| Output |
Prints, in JavaScript Object Notation (JSON) format, the current contents of the commit log. Each commit description has the following layout:
|
| Parameters | {"limit": <number>} where
limit is an integer value specifying the number
of most recent commits to display. |
| Where | CLI |
Print commit log statistics
| Product | CMC, Guardian |
| Syntax | ids commit_log_stats |
| Output |
Prints, in JSON format, a list of counter names and their corresponding values. These counters help understand if the parameters governing the behavior of the commit log are correctly tuned:
|
| Parameters | None |
| Where | CLI |
Print the current values of the commit log configuration parameters
| Product | CMC, Guardian |
| Syntax | ids commit_log_configuration |
| Output |
Prints, in JSON format, the current value of each commit log configuration parameter:
|
| Parameters | None |
| Where | CLI |