Snapshot vs. Dynamic Views

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

The onload_stackdump tool presents a snapshot view of the system when invoked. To monitor state and variable changes whilst an application is running use onload_stackdump with the Linux watch command. For example:

  • snapshot: onload_stackdump netif
  • dynamic: watch -d -n1 onload_stackdump netif

Some onload_stackdump commands also update periodically whilst monitoring a process. These commands usually have the watch_ prefix. For example:

watch_stats, watch_more_stats, watch_tcp_stats, watch_ip_stats etc.

Use the onload_stackdump -h option to list all commands.