system-udp-metrics

Retrieves UDP communication statistics for the local server.

Command properties

PropertyDescription
Command typeDriver query
Required permissionCluster administrator
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

system-udp-metrics

Output fields

FieldTypeDescription
rx_pktslongNumber of received UDP packets
rx_errorslongNumber of receive errors
rx_buf_errorslongNumber of receive buffer errors
tx_pktslongNumber of transmitted UDP packets
tx_buf_errorslongNumber of transmit buffer errors

Error codes

Parsing errors
Error codeMessageDescription
10000no-read-permissionThe user does not have cluster administrator privileges
Runtime errors

N/A

Description

The system-udp-metrics command retrieves UDP communication statistics for the local server. It parses the UDP section of netstat -s output, so it works only on Linux. If the net-tools package, which provides the netstat command, is not installed on the server, the query fails.

You can monitor UDP-based communications such as syslog reception by checking receive (rx_*) and transmit (tx_*) buffer errors.

Cluster administrator privileges are required to run this command.

Examples

  1. Retrieve UDP communication statistics

    system-udp-metrics
    

    Retrieves UDP receive and transmit statistics for the local server.

  2. Check for buffer errors

    system-udp-metrics
    | search rx_buf_errors > 0 or tx_buf_errors > 0
    

    Filters results to show only cases where UDP buffer errors have occurred.

Change history

The system-udp-metrics command is available since version 5.0.2603.0.