mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 06:03:10 +00:00
lib: Line up show thread cpu
output appropriately
The output from `show thread cpu` was not lined up appropriately for the header line. As well as the function name we were calling in the output. Fix it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
1d03b7b88b
commit
84d951d0cb
@ -188,7 +188,7 @@ static void cpu_record_print(struct vty *vty, uint8_t filter)
|
||||
name);
|
||||
vty_out(vty, "-------------------------------%s\n",
|
||||
underline);
|
||||
vty_out(vty, "%21s %18s %18s\n", "",
|
||||
vty_out(vty, "%30s %18s %18s\n", "",
|
||||
"CPU (user+system):", "Real (wall-clock):");
|
||||
vty_out(vty,
|
||||
"Active Runtime(ms) Invoked Avg uSec Max uSecs");
|
||||
@ -211,7 +211,7 @@ static void cpu_record_print(struct vty *vty, uint8_t filter)
|
||||
vty_out(vty, "\n");
|
||||
vty_out(vty, "Total thread statistics\n");
|
||||
vty_out(vty, "-------------------------\n");
|
||||
vty_out(vty, "%21s %18s %18s\n", "",
|
||||
vty_out(vty, "%30s %18s %18s\n", "",
|
||||
"CPU (user+system):", "Real (wall-clock):");
|
||||
vty_out(vty, "Active Runtime(ms) Invoked Avg uSec Max uSecs");
|
||||
vty_out(vty, " Avg uSec Max uSecs");
|
||||
|
Loading…
Reference in New Issue
Block a user