mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 23:11:44 +00:00
Merge pull request #10993 from donaldsharp/more_watchfrr_info
watchfrr: Add some more information to `show watchfrr`
This commit is contained in:
commit
33dfcd7397
@ -1053,6 +1053,12 @@ void watchfrr_status(struct vty *vty)
|
|||||||
struct timeval delay;
|
struct timeval delay;
|
||||||
|
|
||||||
vty_out(vty, "watchfrr global phase: %s\n", phase_str[gs.phase]);
|
vty_out(vty, "watchfrr global phase: %s\n", phase_str[gs.phase]);
|
||||||
|
vty_out(vty, " Restart Command: %pSQq\n", gs.restart_command);
|
||||||
|
vty_out(vty, " Start Command: %pSQq\n", gs.start_command);
|
||||||
|
vty_out(vty, " Stop Command: %pSQq\n", gs.stop_command);
|
||||||
|
vty_out(vty, " Min Restart Interval: %ld\n", gs.min_restart_interval);
|
||||||
|
vty_out(vty, " Max Restart Interval: %ld\n", gs.max_restart_interval);
|
||||||
|
vty_out(vty, " Restart Timeout: %ld\n", gs.restart_timeout);
|
||||||
if (gs.restart.pid)
|
if (gs.restart.pid)
|
||||||
vty_out(vty, " global restart running, pid %ld\n",
|
vty_out(vty, " global restart running, pid %ld\n",
|
||||||
(long)gs.restart.pid);
|
(long)gs.restart.pid);
|
||||||
|
Loading…
Reference in New Issue
Block a user