diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-30 18:56:10 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-07-02 01:18:39 +0200 |
commit | e703a0f3afd3469afdc57994a38245cf2ada4e00 (patch) | |
tree | e37ad76ba3e69a94e1ebd970c6f4700a99ee23ab /vtysh/vtysh.c | |
parent | lib: use doubles instead of long doubles (diff) | |
download | frr-e703a0f3afd3469afdc57994a38245cf2ada4e00.tar.xz frr-e703a0f3afd3469afdc57994a38245cf2ada4e00.zip |
lib, vtysh: rebase hashstats
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | vtysh/vtysh.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index d95a2d286..0e04f4bf8 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -2114,15 +2114,13 @@ DEFUN (vtysh_show_hashtable, unsigned long i; int ret = CMD_SUCCESS; - vty_out (vty, "%sLoad factor (LF) - average number of elements across all " - "buckets%s", VTY_NEWLINE, VTY_NEWLINE); - vty_out (vty, "Full load factor (FLF) - average number of elements " - "across full buckets%s%s", VTY_NEWLINE, VTY_NEWLINE); - - vty_out (vty, "Standard deviation (SD) is calculated for both the LF and FLF%s", VTY_NEWLINE); - vty_out (vty, "and indicates the typical deviation of bucket chain length%s", VTY_NEWLINE); - vty_out (vty, "from the value in the corresponding load factor.%s%s", - VTY_NEWLINE, VTY_NEWLINE); + fprintf (stdout, "\n"); + fprintf (stdout, "Load factor (LF) - average number of elements across all buckets\n"); + fprintf (stdout, "Full load factor (FLF) - average number of elements across full buckets\n\n"); + + fprintf (stdout, "Standard deviation (SD) is calculated for both the LF and FLF\n"); + fprintf (stdout, "and indicates the typical deviation of bucket chain length\n"); + fprintf (stdout, "from the value in the corresponding load factor.\n\n"); for (i = 0; i < array_size(vtysh_client); i++) if ( vtysh_client[i].fd >= 0 ) { |