Configuring Kanzi Monitor¶
During initialization, Kanzi Monitor reads the configuration file kanzimonitor.cfg.
If the file is available, Kanzi Monitor reads configuration values from it.
If the file is not available, Kanzi Monitor uses the default settings.
Trace Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Trace Service. |
|
|
Controls how frequently the service collects samples, in milliseconds. Collection prevents sample loss, but increases memory usage. |
|
|
Controls the timing of a one-time write of the output to file, in milliseconds. |
|
|
Controls how often the output is repeatedly written to file, in milliseconds. |
|
|
Controls whether the output is written to file when the application exits. |
|
|
Writes the output to file when the frame duration exceeds the threshold, in milliseconds. |
|
|
Controls whether collection appends new samples to samples already in storage. |
|
|
Controls whether samples are collected when their profiler buffers are full. Takes effect only when |
|
|
Controls the session label used in the output filename for tracing format output. The output filename is composed as |
|
|
Comma-separated list of trace writers to activate at startup. Each writer registers itself with the Trace Service under a name; use |
|
|
Profiling category filter the Trace Service applies at startup, with the same syntax as |
|
|
When |
|
Command Processor Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Command Processor Service. |
|
|
Enables or disables the local stdin/stdout console. |
|
|
Enables or disables the remote TCP socket console. |
|
|
Controls the listening socket port number for the remote console. |
|
|
Maximum number of remote console clients served at the same time. A client that connects when the limit is reached is told so and disconnected, rather than being left waiting for a response that never comes. |
|
|
Enables or disables the serial port console for embedded targets. |
|
|
Controls the serial port device name. |
|
|
Controls the baud rate of the serial port connection. Supported values: 9600, 19200, 38400, 57600, 115200, 230400, 460800. |
|
UI Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the UI Service. |
|
|
Sets the font scale multiplier for the BasicUI overlay text. Useful for high-DPI devices where the default font size is too small. |
|
Log Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Log Service. |
|
|
Controls the size of the log entry buffer. |
|
Performance Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Performance Service. |
|
Overwatch Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Overwatch Service. The Overwatch Service provides JSON-based introspection of the Kanzi application for use by remote debugging tools such as the Monitor Web UI. |
|
|
Allows the Overwatch Service to change values: property and data writes ( |
|
Debug Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the |
|
NodeTree Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the |
|
Resource Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the |
|
Capture Service configuration¶
Setting |
Description |
Default |
|---|---|---|
|
Enables or disables the Capture Service, which records a bounded sequence of screen frames into memory as a keep-last-N ring. See Using the Capture service. |
|
|
The memory ceiling in bytes for the frame ring. Ring capacity is |
|
Example configuration file¶
# Trace Service
ServiceTraceEnabled = 1
CollectingTimerRepeatInterval = 0
WritingTimerOnceInterval = 0
WritingTimerRepeatInterval = 0
WritingOnExitEnabled = 0
WritingOnFrameDurationThreshold = 0
CollectWithAppendingEnabled = 0
CollectingOnFullSampleBufferEnabled = 1
SessionLabel = tracing_output
ActiveWriters = chrometrace
ProfilingCategoryFilter = *=on
# Command Processor Service
ServiceCommandProcessorEnabled = 1
LocalConsoleEnabled = 1
RemoteConsoleEnabled = 1
RemoteConsolePort = 56000
RemoteConsoleMaxConnections = 4
SerialConsoleEnabled = 0
SerialConsolePort = COM3
SerialConsoleBaudRate = 115200
# UI Service
ServiceUIEnabled = 1
UIFontScale = 1.0
# Log Service
ServiceLogEnabled = 1
LogMaxEntries = 100
# Performance Service
ServicePerformanceEnabled = 1
# Overwatch Service
ServiceOverwatchEnabled = 1
OverwatchPropertyChangeEnabled = 1
# Debug Service
ServiceDebugEnabled = 1
# NodeTree Service
ServiceNodeTreeEnabled = 1
# Resource Service
ServiceResourceEnabled = 1
# Capture Service
ServiceCaptureEnabled = 1
CaptureMaxBytes = 134217728
See also¶
Getting started with Kanzi Monitor