.comment-link {margin-left:.6em;}


Thursday, November 08, 2007

Finding Installed Memory on Solaris 10

Even after 20 minutes of google searches I couldn't find a command to give the amount of installed memory on a Solaris machine. So I'm posting the solution here for safe keeping. Generally you need to be root to get the answer instead of an error message.

Use the command:
 /usr/sbin/prtdiag | head 
It should give output that looks like this:

# /usr/sbin/prtdiag | head
System Configuration: Sun Microsystems sun4u Sun Fire V240
System clock frequency: 167 MHZ
Memory size: 2GB

Bookmark and Share


  • Thanks, just what I needed!

    By Blogger Eddie, at 1:11 PM  

  • But only on Sparc - on x86, it doesn't show it so nice.

    # /usr/sbin/prtdiag | head
    System Configuration: HP ProLiant DL385 G2
    BIOS Configuration: HP A09 04/15/2009
    BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)

    ==== Processor Sockets ====================================

    Version Location Tag
    -------------------------------- --------------------------
    Opteron Proc 1
    Opteron Proc 2

    Instead, use "prtconf | grep Memory":

    # /usr/sbin/prtconf | grep -i memor
    Memory size: 16382 Megabytes

    By Blogger Alexander, at 2:28 AM  

Post a Comment

Links to this post:

Create a Link

<< Home