Friday, June 20, 2008

Stacked memused on kSar

PS. My patch for memused (buffer adjusted) is accepted by kSar and released in kSar-4.0.14. Thank you for the developer Alexandre Cherif and all others support!

Here is my second patch for kSar: Stacked memory graph.



It added a new option to stack the following together into one graph:
  • memused (buffer adjusted)
  • buffers
  • cached
  • free
  • swap used
When all these information are plotted in different graphs, they all have different scale. It is good if you just want to view particular piece of information, but it is difficult for comparison. Sometimes it would be misleading that a large fluctuation on one graph actually mean a change in range of a few kbytes, which is just a small ripple on another graph.

Currently I just implemented this feature on Linux part of kSar. I am not sure if it is useful for other OS such as AIX, HPUX or Solaris. If someone think it is good to have this feature on other OS, please contact me and tell me how to "stack" the memory info of those OS. :-)

Here is the patch for kSar-4.0.14.
Here is the compiled jar with this feature as an option.

No comments: