LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 03-21-2014, 11:33 AM   #1
Lyxix
LQ Newbie
 
Registered: Mar 2014
Posts: 13

Rep: Reputation: Disabled
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.

-Lyxix
 
Old 03-22-2014, 12:41 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Have you tried "smbios"? It may be in /usr/sbin.

p.s. - I think smbios will only work on x86/amd64 architecture Solaris systems, not sparc. Not 100% sure though.

Last edited by haertig; 03-22-2014 at 12:51 AM.
 
Old 03-24-2014, 04:29 PM   #3
Lyxix
LQ Newbie
 
Registered: Mar 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
smbios is a no-go

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!

Anybody have any other ideas?

-Lyxix
 
Old 03-24-2014, 05:54 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Lyxix View Post
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)
It works fine with Linux too:

Code:
# ./memconf.v3.04.pl
memconf:  V3.04 24-Feb-2014 http://sourceforge.net/projects/memconf/
hostname: r940
TOSHIBA TECRA R940 (Dual-Core Hyper-Threaded Intel Corporation Intel(R) Core(TM) i5-3340M @ 2.70GHz)
Memory Error Correction: None
Maximum Memory: 16384MB (16GB)
DIMM0 BANK 0: 8192MB 1600MHz Synchronous DDR3 SODIMM, Samsung M471B1G73BH0-CK0
DIMM2 BANK 2: 8192MB 1600MHz Synchronous DDR3 SODIMM, Samsung M471B1G73BH0-CK0
empty memory sockets: None
total memory = 16384MB (16GB)

Last edited by jlliagre; 03-24-2014 at 06:07 PM.
 
Old 03-25-2014, 03:05 PM   #5
Lyxix
LQ Newbie
 
Registered: Mar 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
memconf

Yes, memconf is what I was referring to regarding the Perl script. Sounds good - I'll just have to go that route. Thanks so much for everyone's help.

-Lyxix
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining RAM speed smithtodda Linux - Hardware 8 03-22-2014 02:45 PM
System unstable after RAM upgrade tethysgods Linux - Hardware 12 12-15-2008 07:41 PM
LXer: Determining Maximum Pool Sets Using Binomial Coefficients On Linux and Unix LXer Syndicated Linux News 0 09-07-2008 11:11 PM
512MB to 1GB RAM upgrade makes system run slower Kropotkin Linux - Hardware 2 03-16-2006 05:51 PM
System not registering RAM chip upgrade tireseas Linux - Hardware 1 01-12-2004 02:59 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration