pcp
[Top] [All Lists]

Re: [pcp] How to get zero origin on mem/swap

To: David Wright <daw@xxxxxxx>
Subject: Re: [pcp] How to get zero origin on mem/swap
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Fri, 10 Jul 2009 10:49:57 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <200907091345.n69DjpZF30129686@xxxxxxxxxxxxxxxxxxxxx>
----- "David Wright" <daw@xxxxxxx> wrote:

> Hello all,
> 
> How do I get a swap utilization or memory utilization stack chart
> for example, have a zero origin and still autoscale? I dont
> want to go to utilization as I want the memory size numbers of
> slab/cache/anon etc?

There's currently no way to specify that behaviour - adding it
would be a "simple matter of programming" though... probably a
checkbox on the new/edit chart dialog, and some code ... might
want to extend the View format too, starts to become alot more
work then though.  I'll keep it in mind for the next change to
the format, but you're welcome to hack the code yourself to do
this too, of course (pls send patches if you do)!

cheers.

-- 
Nathan

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