diff options
| author | David Lamparter <equinox@diac24.net> | 2019-05-25 11:37:53 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-05-25 11:37:53 +0200 |
| commit | fa468cd94655d0cd2aba0e790cb1d308d4148f57 (patch) | |
| tree | 3aa031b7647ff764be10c4833e3b5fdb1f4ff93f /lib/thread.c | |
| parent | 528628cb2ea4f5a522bf1f6d5b702bb188c4e30e (diff) | |
| parent | 4b031e20c5fa08379e3e397d80b05564a4ad3774 (diff) | |
Merge branch 'pr4392'
... with an extra space character added.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c index 7a9a0ab608..d3fb2cdf36 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -281,7 +281,7 @@ DEFUN (show_thread_cpu, SHOW_STR "Thread information\n" "Thread CPU usage\n" - "Display filter (rwtexb)\n") + "Display filter (rwtex)\n") { uint8_t filter = (uint8_t)-1U; int idx = 0; @@ -312,7 +312,8 @@ static void show_thread_poll_helper(struct vty *vty, struct thread_master *m) vty_out(vty, "\nShowing poll FD's for %s\n", name); vty_out(vty, "----------------------%s\n", underline); - vty_out(vty, "Count: %u\n", (uint32_t)m->handler.pfdcount); + vty_out(vty, "Count: %u/%d\n", (uint32_t)m->handler.pfdcount, + m->fd_limit); for (i = 0; i < m->handler.pfdcount; i++) vty_out(vty, "\t%6d fd:%6d events:%2d revents:%2d\n", i, m->handler.pfds[i].fd, |
