diff options
author | paul <paul> | 2006-03-30 14:05:23 +0000 |
---|---|---|
committer | paul <paul> | 2006-03-30 14:05:23 +0000 |
commit | 9b0dadce771fbfad5406a0df0a16408c32e6e72e (patch) | |
tree | 8ccd4604b25f314a51b36ef6ff0b7d7ceb8589c6 /ospfd/ospf_interface.c | |
parent | 410c8f6b2b278f0b4433090932a911f310e09092 (diff) | |
download | quagga-9b0dadce771fbfad5406a0df0a16408c32e6e72e.tar.bz2 quagga-9b0dadce771fbfad5406a0df0a16408c32e6e72e.tar.xz |
[bgpd] Add 'show bgp memory' for stats on fixed-size allocations in bgpd
2006-03-19 Paul Jakma <paul.jakma@sun.com>
* bgpd/bgp_vty.c: Add includes to get several structs we want
to provide usage statistics on.
(show_bgp_memory_cmd) Show memory usage stats for various
notable fixed size objects. Using mtype_stats_alloc and
mtype_memstr recently added to memory.c.
(bgp_show_summary) Report some additional stats specific to
the given BGP instance and/or AFI/SAFI such as table counts,
peers, rsclients and peer-groups.
(bgp_vty_init) Install show_bgp_memory_cmd.
Diffstat (limited to 'ospfd/ospf_interface.c')
0 files changed, 0 insertions, 0 deletions