These are the same memory stats available from 'show memory' that I've left
in the code.  I see no point in bgp having a telnet 'show memory ospf'
command.  It makes no sense.

doanld

On Mon, Aug 17, 2015 at 11:27 AM, Paul Jakma <[email protected]> wrote:

> On Wed, 12 Aug 2015, Donald Sharp wrote:
>
> In order for cli to show up it must be scanned by the extract.pl script to
>> build vtysh_cmd.c.  lib/memory.c is not scanned and as such there is no
>> hook generated to ever call the code.  Therefore this code is unused dead
>> code.
>>
>
> Not sure it's dead code, it's usable from the telnet CLI - which is what I
> use. The memory stats can be useful to narrow down memory leaks on
> production servers or end-user reports, and any other cases where valgrind
> info isn't available or easy to obtain.
>
> regards,
> --
> Paul Jakma      [email protected]  @pjakma Key ID: 64A2FF6A
> Fortune:
> You have junk mail.
>
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to