Determining maximum RAM upgrade possible of a system
Solaris / OpenSolarisThis 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.
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.
Determining maximum RAM upgrade possible of a system
Hopefully a quick question:
I know that in wonderful Linux, we have the "dmidecode" command that lists such exceptionally useful hardware information as the Maximum Physical Memory Capacity:
# dmidecode -t 16
SMBIOS 2.4 present.
Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC Maximum Capacity: 32 GB
Error Information Handle: Not Provided Number Of Devices: 8
...which tells me I have 8 DIMM slots that can support a total of 32 GB (4 GB each slot)
Do any of you know of a method to gather similar information on Solaris operating systems? prtdiag and prtconf are getting me nowhere that I can tell. (maybe I'm just reading them wrong)
I heard of a perl script I could download/unzip/run, but I have to figure this info out on a ton of systems and I'm trying to avoid installing additional stuff if possible. I'm hoping there's already a built in command.
Any suggestions would be greatly appreciated. Thank you so much for your time.
Looks like you're right about it only working on x86 architectures...or at least I can confirm it DOESN'T work on all of my SPARC-based Solaris systems:
smbios: failed to load SMBIOS: System does not export an SMBIOS table
Unfortunately, I don't have any x86 systems running Solaris (they all run some flavor of Linux). Thanks for the info, though!
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by Lyxix
prtdiag and prtconf are getting me nowhere that I can tell. (maybe I'm just reading them wrong)
There is no simple way so I would suggest to use the memconf utility which is likely the perl script you heard about.
Here is a sample output:
Code:
$ ./memconf.v3.04.pl
memconf: V3.04 24-Feb-2014 http://sourceforge.net/projects/memconf/
Gathering data for memconf. This may take over a minute. Please wait...
hostname: v120
Sun Microsystems, Inc. Sun Fire V120 (UltraSPARC-IIe 548MHz)
socket DIMM0 has a 1024MB (1GB) DIMM
socket DIMM1 has a 1024MB (1GB) DIMM
socket DIMM2 has a 1024MB (1GB) DIMM
socket DIMM3 has a 1024MB (1GB) DIMM
empty sockets: None
total memory = 4096MB (4GB)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.