Solved

Check Memory Size

Posted on 2006-11-07
2
4,562 Views
Last Modified: 2013-12-27
Hi,

Under Solaris 8, how can I check the real memory size (not include the swap memory)in my server?

In using the top command, the size of real memory is shown.
Is this the correct value I am looking for?

Please advise.
0
Comment
Question by:cplau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
jhartzen earned 100 total points
ID: 17890179
Quick and dirty solution:
prtconf | grep Memory

You can also try prtdiag, which is not in the default execute path on older versions of Solaris, eg with Solaris 8 you need to type:
/usr/platform/`uname -i`/sbin/prtdiag

There are other ways, but the above two methods will give you info about the hardware, not about what Solaris has done with it or how it is using it.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 17894742
or type in:
/usr/platform/`uname -m`/sbin/prtdiag  | grep -i memory

/usr/platform/`uname -m`/sbin/prtdiag  
will give some details about your hareware.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question