Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4568
  • Last Modified:

Check Memory Size

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
cplau
Asked:
cplau
1 Solution
 
jhartzenCommented:
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
 
yuzhCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now