The op-rpd-mem script displays rpd statistics in simple horizontal bar graphs. This op script uses the command "show task memory detail". The library lib-graph.slax is content independent (resuable).
Read the document op-rpd-mem