pcp
[Top] [All Lists]

Re: [pcp] pcp Digest, Vol 16, Issue 3

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: [pcp] pcp Digest, Vol 16, Issue 3
From: David Wright <daw@xxxxxxx>
Date: Tue, 4 May 2010 18:02:37 -0500 (CDT)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <1273005953.22330.20.camel@xxxxxxxxxxxxxxxx> from "Ken McDonell" at May 05, 2010 06:45:53 AM
> 

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

<Prev in Thread] Current Thread [Next in Thread>