How to get the Solaris system information?


 
Thread Tools Search this Thread
Operating Systems Solaris How to get the Solaris system information?
# 8  
Old 09-17-2010
Quote:
Originally Posted by forumguest
...snip...
From the above outputs , i could find only CPU speed, CPU Implementation and CPU status. But i also need
CPU family and CPU Model,CPU Stepping, and CPU cache memory.

Is any there command is used for getting the above mentioned details ?

Please guide me.
This is Solaris... so NO... there's no way to extract such data reliably. The concepts of "family", "model" (the numeric x86 style value) and "stepping" do not apply to all processor types. There is no reliable way to get the cache information, and besides as processors now come with L1, L2 AND now L3 cache... which cache is interesting? Typically, other systems focus on L2 cache (I guess never believing that there would ever be L3).

You HAVE been guided, you've given enough info to get you started... but you're asking for things that either are n/a to Solaris/SPARC or just simply cannot be retrieved easily.

If you want that kind of CPU data on Solaris Intel, new Solaris revisions will contain the smbios command which is like the dmidecode utility under Linux and you should be able to get most of what you are wanting CPU wise from that.... but it's not going to work on SPARC platforms. Also, I'll just point out that Solaris smbios command is NOT nearly as good as dmidecode... so you might just want to build and compile dmidecode and run it on your Intel Solaris boxes... THEN you will get everything, including Family, Model, Stepping. Dmidecode will show you L1, L2 and L3 cache data as well... and it does compile quite well on Solaris Intel.... not sure why they went with their own smbios tool (??) it's a very poor replacement. And you won't find smbios except on the NEWEST Solaris... not even sure if it's any Solaris 10.
# 9  
Old 09-17-2010
smbios has been available on Solaris 10 for a while now.
# 10  
Old 09-17-2010
I couldn't remember if it was something I added or not... thanks... it still stinks in comparison to dmidecode though.
# 11  
Old 09-17-2010
Quote:
Originally Posted by cjcox
it still stinks in comparison to dmidecode though.
Interesting disagreeing opinion in its announcement (Aug 2005): Heads up: x86 SMBIOS Support (Community Group on.2005082701) - XWiki

If you've used Linux "dmidecode" before, this is the same idea, but hopefully a more useful and friendly implementation.

Smilie
# 12  
Old 09-18-2010
Try kstat -m cpu_info, and see if the CPU info you are looking for is in there,....
# 13  
Old 09-19-2010
Quote:
Originally Posted by jlliagre
Interesting disagreeing opinion in its announcement (Aug 2005): Heads up: x86 SMBIOS Support (Community Group on.2005082701) - XWiki

If you've used Linux "dmidecode" before, this is the same idea, but hopefully a more useful and friendly implementation.

Smilie
Maybe I missed something. Typical Sun/Solaris rah-rah we're number one and we don't need to really look at somebody else's work (sigh). Smbios, it's like dmidecode, except it doesn't really decode everything :-)

What do I know... I just use the tools and compare... one works and the other does not. It's really NOT an opinion issue.. maybe someday, smbios will catch up... the world just wonders why it exists. The links is from 2005, yes, the crapola smbios that is in Solaris 10 essentially.... again, the question "why" keeps coming to mind. Ditto for Microsoft.... of course they are even worse, they pull in the smbios data, make it available in a "manner" but don't attempt to interpret the data at all..... which makes some of their WMI data almost laughable because it is so far off. Not saying that all SMBios data is good, but it's better than what a lot of people use for data sources.
# 14  
Old 09-21-2010
I don't get your rant. I would assume that when Solaris smbios code started to be developed, dmidecode wasn't providing the features Solaris engineering was expecting.
I'm also afraid you are overreacting/exaggerating by writing "smbios stinks, is NOT nearly as good ..., doesn't work." Smbios is fine enough for most if not all needs. If you have specific bugs or enhancements you would like to seen fixed, then please express them clearly.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

How to get the FreeBsd system information?

Hi, How to get the FreeBsd system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS... (2 Replies)
Discussion started by: forumguest
2 Replies

2. Infrastructure Monitoring

How to get the Linux system information?

Hi, How to get the Linux system hardware and software basic information using terminal command ? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: OS Build Type:... (6 Replies)
Discussion started by: forumguest
6 Replies

3. AIX

How to get the AIX system information?

Hi, How to get the AIX system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS Configuration: ... (4 Replies)
Discussion started by: forumguest
4 Replies

4. Solaris

How to get system parameters / information on Sun Solaris 5.10

Hello to everyone, i am new to Sun Solaris. i have Solaris 5.10 installed on the X86 platform. i am writing a script which gathers some system information. but i can not find some of the parameter from the system can any one please suggest to way to find these params. shell command will be... (1 Reply)
Discussion started by: nikhil.sigpro
1 Replies

5. HP-UX

HP-UX system information

Hi, I'm writing a script to display a lot of information which describe a server (OS distrib, release, Hardware platform, CPU, HD, S/N...). For Linux side it is ok as you have almost all the information in /proc/cpuinfo, /proc/meminfo... and you can use dmidecode but for HP-UX I didn't find... (13 Replies)
Discussion started by: biker007fr
13 Replies

6. Shell Programming and Scripting

System Information Variable Help

Hey, I am after the commands to get the following information for my Unix system: default visual editor (i dont even know where to start with this one) default window manager (this one either, no idea) total quota (just the size, none of the other data. I've narrowed it down to quota -sv)... (1 Reply)
Discussion started by: bonjour
1 Replies

7. UNIX for Advanced & Expert Users

Solaris and Linux system information.

Hey, I have a program that takes more time on a solaris machine than on a linux machine. So I guess the best way to know whats going on is to compare the two systems ? CPU and Memory ? Is there any other parameter that I should look at ? So on the linux box I ran: And on the Solaris: ... (6 Replies)
Discussion started by: the_learner
6 Replies

8. HP-UX

System Information

How do I get the system information on a HP UNIX server. details like CPU speed, number of processors etc. (4 Replies)
Discussion started by: Olamide
4 Replies

9. UNIX for Dummies Questions & Answers

AIX System information

Hi All, I am new to Unix and am working on AIX ( rs6000 ). I am looking for the system info of the unix box like 1. Number of CPUs 2. CPU speed 3. RAM size Your help is much appreciated Thanks rao. (6 Replies)
Discussion started by: rao
6 Replies

10. UNIX for Dummies Questions & Answers

Please help me find out system information

I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine. I'm using Sun OS 5.6 Thanks (3 Replies)
Discussion started by: ViperD
3 Replies
Login or Register to Ask a Question