Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-31-2010, 01:55 AM
|
#1
|
Member
Registered: Sep 2003
Location: India
Posts: 36
Rep:
|
Memory Utilization
Hi,
I have sun Solaris server and would like to know current memory utilization (total memory of the server and current free memory). Also I would like to know historical memory consumption (about one week back what was memory utilzation). Could you please help me in this regard?
Thanks.
|
|
|
03-31-2010, 02:08 AM
|
#2
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Run "top" from command line
|
|
|
03-31-2010, 03:20 AM
|
#3
|
Member
Registered: Sep 2003
Location: India
Posts: 36
Original Poster
Rep:
|
We dont have top installed. Also I know total Physical Memory can be obtained from prtstat.
So please let me know how to find current memory utilization and historical memory utilization. Thanks.
|
|
|
03-31-2010, 04:01 AM
|
#4
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep: 
|
Quote:
I would like to know historical memory consumption (about one week back what was memory utilzation).
|
Better to install Mrtg or Cacti
This will update free memory information every second
|
|
|
03-31-2010, 06:17 PM
|
#5
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,795
|
Quote:
Originally Posted by manickaraja
So please let me know how to find current memory utilization
|
"prstat -a" will show you the virtual and physical utilisation per user and "prstat -Z" per zone (Solaris 10 and newer).
Quote:
and historical memory utilization. Thanks.
|
If you enable sar ("svcadm enable sar"), you'll have free virtual and memory logs up to one month with "sar -r".
|
|
|
All times are GMT -5. The time now is 03:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|