dynolog Usage Guide

Introduction

dynolog is responsible for receiving RPC requests from dyno CLI and triggering nputrace and npu-monitor functions.

Feature Introduction

Parameter Description

NameTypeDescriptionMandatory
--enable-ipc-monitoractionWhether to enable Inter-Process Communication (IPC) monitoring for communication with dyno. Configuring this parameter enables it. Disabled by default.N
--porti32Port number that the dynolog daemon process listens on. Default value: 1778.N
--certs-dirStringPath to TLS certificates for RPC communication between dyno and dynolog. When the value is NO_CERTS, certificate verification is not used. Default value: NO_CERTS.N
--metric_log_dirStringDisk storage path for metric data.N
--use_JSONactionWhether to record metric data in JSON format to the log. Disabled by default.N
--helpactionHelp information. The native dynolog parameters included therein are not described here.N

Usage Example

The dynolog daemon can be started via either systemd or the command line.

# Method 1: Use systemd to start the service
# Modify the configuration file /etc/dynolog.gflags to enable the ipc_monitor feature
echo "--enable-ipc-monitor" | sudo tee -a /etc/dynolog.gflags
sudo systemctl start dynolog
# Method 2: Execute via the command line
dynolog --enable-ipc-monitor --certs-dir /home/ssl_certs