LinuxCommandLibrary

nmcli-monitor

watches for and displays NetworkManager events in real-time

TLDR

Start monitoring NetworkManager changes

$ nmcli monitor
copy

SYNOPSIS

nmcli monitor

DESCRIPTION

nmcli monitor watches for and displays NetworkManager events in real-time. It shows changes to network connections, device states, and connectivity status as they occur.
Events displayed include connection activations and deactivations, device state changes (connecting, connected, disconnected), IP address assignments, and overall connectivity state changes.
The command runs continuously until interrupted with Ctrl+C, making it useful for debugging network issues or scripting responses to network events.

CAVEATS

Runs in the foreground and blocks the terminal. Only shows events occurring after the monitor starts; historical events are not displayed. For parsing in scripts, consider using nmcli's -t (terse) option for machine-readable output.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community