Setting up stacked graphs.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
GrandMasterLee
Posts: 17
Joined: Tue Jul 23, 2002 5:53 pm
Contact:

Setting up stacked graphs.

Post by GrandMasterLee »

I'm trying to use my max-files.pl to setup a stacked graph, but what I see happening in my graph is that it's constantly filled at it's max, 8192 in this case, (so that entire area is filled), and then the amount free is just appended to the top of that, instead of looking more like the load_avg graphs.

Any pointers on setting up a stacked graph? TIA.

--The GrandMaster
GrandMasterLee
Posts: 17
Joined: Tue Jul 23, 2002 5:53 pm
Contact:

Post by GrandMasterLee »

Can someone please help me setup a stacked graph? If nothing else, explain to me what the deal is? I can't seem to setup a graph that displays three values.

In this case if you perform the following:

Code: Select all

cat /proc/sys/fs/file-nr
those three values I'd like to display on one graph. I want to put the Max value, the far right, as a line at the top.
The second value, allocated, is the primary value to track, then the last value, free, is the sub value to track within allocated.

I can setup a graph with the following:
max is area
free is stack
alloc is stack
but this does not display as a flowing graph because free will go up and down a lot.

Any help would be appreciated.
--The GrandMaster

PS, my script is in the scripts forum if you'd like to see what I mean.
GrandMasterLee
Posts: 17
Joined: Tue Jul 23, 2002 5:53 pm
Contact:

Post by GrandMasterLee »

Ok..Fixed it. I didn't realize how to exactly utilize the graph types. So, after a while of messing with them I realized "stacked" isn't what I need, and that I just needed several area graphs placed on top of each other.

--The GrandMaster
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests