Performance monitoring in Solaris

How should I monitor memory usage/performance in SunOS/Solaris?April 27, 2014

Last week we decided to add some SunOS (uname -a = SunOS bbs-sam-belair 5.10 Generic_127128-11 i86pc i386 i86pc) machines into our running munin instance. First off, the machines are pre-configured appliances, so, I want to avoid touching the system too much without supervision of the service provider.

But adding it to munin was fairly easy by writing a small socket-service (if anyone is interested, I put it up on github: )

Yesterday, I implemented/adapted the required plugins for our machines. And here the questions start:

First, I have not found a way to determine detailed memory usage values. I get the total memory by running prtconf | grep Memory, and the free memory using vmstat. Fiddling together a munin-plugin, gives me the following graph:

This is pretty much uninformative. Compare this to the default plugin for linux nodes which has a lot more detail:

Most importantly, this shows me how much memory is actually used by applications.

So, first question: Is it possible to get detailed memory information on SunOS with the default system tools (i.e. not using top)?

Onto the next puzzle: Seeing the graphs, I noticed activity in the "Paging in/out" graphs, even though the memory graph still has unused memory:

Upon further investigation, I found out that df reports that /tmp is mounted on swap. Drilling around on the web, I understood that df will display swap, but in fact, it's mounted as a tmpfs. Now I don't know if this explains the swap activity.

The default munin-plugin for solaris uses kstat -p -c misc -m cpu_stat to get these values. I find it already strange that this is using the cpu_stat module. So maybe I simply misinterpret the "paging" graphs?

Second question: Do the paging graphs indicate that parts of the memory are paged to disk? Or is the activity caused by file operations in /tmp?

Source: serverfault.com

You might also like

Oracle GoldenGate 11g HandbookeBooks (McGraw-Hill Osborne Media)

Senate panel OKs $51 billion for Commerce, Justice, Science — FCW.comOne sticking point is the House's desire to limit funding for the National Strategy for Trusted Identities in Cyberspace, a plan designed to come up with a new system for managing identities online.

One of the first tasks when setting up a centralized environmental database management system is to define the data model...

Search for:

It's Interesting...

Eagle Investment Systems is a global provider of financial services technology and a subsidiary of The Bank of New York Mellon. Founded in 1989 and based in Wellesley, Massachusetts, Eagle has 13 offices internationally, including offices in Beijing, Dubai, London, Montreal, New York, Pune, San Francisco, Singapore and Toronto.
Eagle provides...

Twitter Activity

@Bob Zemke: Before rolling out your new EMR identify a strategy for application performance monitoring on the LAN and WLAN. #HealthIT
Thu, 26 June 2014 10:18 PM