Re: usage

From: Alan Jurgensen (jurgyman@yahoo.com)
Date: Mon Sep 25 2006 - 13:20:35 EDT


Thx for reply...

I'm looking to charaterize memory usage by groups:
system (root and kernel), fileio cache, processes, total available, (free can
be calculated)

I like to stuff this usage into RRD files for utilization graphing over time.
Any idea where I can get the cached and system amounts?

algae

--- Thomas Carter <tcarter@memc.com> wrote:

> Ram usage is a very difficult question on Solaris as it uses all the
> memory all the time. What isn't being used by applications is used for
> caching. Use the sar -g command ( for example sar -g 5 10 ) to see memory
> usage. The best indicator of not enough memory is the entry labeled
> "pgscan/s" which is memory pages scanned per second. As the demand for
> free memory goes up, Solaris spends more time looking for pages to page
> out or free up. If performance is the goal, keep this as close to 0.00 as
> possible. The 50 -100 range is a warning to add more memory, and over 100
> means add more or free up memory.
>
> If you're just looking at process memory usage, use the command prstat
> (similar to top). With the -t option, prstat will give a summary
> (including total memory) for each user; shared memory use (such as a
> database) can throw off this number because it wants to count the shared
> memory with each process.
>
> For general Admin information, start at http://docs.sun.com, it is a great
> resource. The second site I would recommend is
> http://www.sun.com/bigadmin/home/
> For performance and detailed internal information, look here
> http://www.solarisinternals.com/si/index.php
>
> Thomas Carter
> MEMC Southwest
>
> sunmanagers-bounces@sunmanagers.org wrote on 09/25/2006 08:42:59 AM:
>
> > Hiya,
> > I'm making the move from AIX to Sun Solaris admining...
> > Have a few Qs:
> > - How do I find out current RAM usage stats
> > - Why doesnt mpstat give me anything (same data every time; not root)
> >
> > Is there any good Sun/Solaris for AIX/Linux admins books or papers out
> there?
> > thx!
> >
> > Algae
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > sunmanagers mailing list
> > sunmanagers@sunmanagers.org
> > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:52 EDT