diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-03-30 14:05:23 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-03-30 14:05:23 +0000 |
commit | 4bf6a3621c828ea9f2c62298b525a2c1a191a45e (patch) | |
tree | 88d950315b8ef20ce1e12e4166c3eb6b10d989dd /bgpd/ChangeLog | |
parent | 5304cb52f47a646554241b3bc1d1dab9ccaea73d (diff) |
[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 'bgpd/ChangeLog')
-rw-r--r-- | bgpd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index 82a365c5..b80c7b20 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,5 +1,14 @@ 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. * bgp_nexthop.h: Include if.h as a dependent header, for struct connected. |