This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Using the watch Command for Troubleshooting

Follow

The watch command allows you to continuously run any Linux command in fullscreen. It also allows for changing the timing between the command runs as well as highlighting the differences between each run.

{{table_of_contents}}

Parameters

Use the -n option to set the interval in seconds between each running of the command. (-n0 sets the interval to .1 seconds, which is the fastest available refresh rate; the default interval is 2 seconds and the longest interval is 4294 seconds)
Use the --differences option to highlight the changes between command runs.

Examples

cl-rctl ip route

This command displays the Cumulus Linux routing table.

watch -n0 --differences sudo cl-rctl ip route

ip -s link show up

This command displays interface packet counters.

watch -n0 --differences sudo ip -s link show up

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk