Solved

Check Memory Size

Posted on 2006-11-07
2
4,566 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

617 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