>
I was looking for a way to avoid a negative.
pmchart is going funny with my stack chart and flipping to just
the derived.
mem.util.ncache_clean = mem.util.cache_clean - mem.util.shmem
mem.util.mmapped = mem.util.mapped - mem.util.shmem
and then
chart style stacking antialiasing off
# counts shmem in mapped and cache_clean
plot color #ffff00 metric mem.util.slab
plot color #0000ff metric mem.util.bufmem
plot color #ff0000 metric mem.util.dirty
plot color #008000 metric mem.util.writeback
plot color #aa5500 metric mem.util.cache_clean
plot color #aaff00 metric mem.util.mapped
plot color #aa00ff metric mem.util.anonpages
plot color #aaaa7f metric mem.util.free
chart style stacking antialiasing off
#new one I am trying where shmem is split out
plot color #ffff00 metric mem.util.slab
plot color #0000ff metric mem.util.bufmem
plot color #ff0000 metric mem.util.dirty
plot color #008000 metric mem.util.writeback
plot color #aa5500 metric mem.util.ncache_clean
plot color #666666 metric mem.util.shmem
plot color #aaff00 metric mem.util.mmapped
plot color #aa00ff metric mem.util.anonpages
plot color #aaaa7f metric mem.util.free
chart title "Logical Swap Allocation [%h]" style stacking
plot legend "Free" color #16e116 metric swap.free
plot legend "Used" color #e71717 metric swap.used
chart title "newshm [%h]" style stacking
plot color #aaff00 metric mem.util.mmapped
plot color #aa5500 metric mem.util.ncache_clean
plot color #666666 metric mem.util.shmem
|