How to get the Solaris system information?


 
Thread Tools Search this Thread
Operating Systems Solaris How to get the Solaris system information?
# 1  
Old 09-17-2010
How to get the Solaris system information?

Hi,

How to get the Solaris 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:
OS Build Type:
Registered Owner:
Registered Organization:
Product ID:
Original Install Date:
System Up Time:
System Manufacturer:
System Model:
System type:

Processor(s):
System Locale:
Input Locale:
Time Zone:

and printer information.

Thanks in advance.
# 2  
Old 09-17-2010
Some commands..

Code:
showrev
/bin/uname -X
/usr/sbin/psrinfo -v

# 3  
Old 09-17-2010
How to get the Solaris system information

Thanks for valuable reply.

The command you are posted help me lot.

I need the following details also.

CPU Family :
CPU Model :
CPU Stepping:
CPU Vendor_id:
CPU Cache Memory:

What are commands is used to get the above details ?

Please guide me.
# 4  
Old 09-17-2010
This give you all CPU information

Code:
# /usr/platform/`uname -m`/sbin/prtdiag -v

if the machine is SPARC then the vendor is Sun Microsystems


Quote:
Originally Posted by forumguest
Thanks for valuable reply.

The command you are posted help me lot.

I need the following details also.

CPU Family :
CPU Model :
CPU Stepping:
CPU Vendor_id:
CPU Cache Memory:

What are commands is used to get the above details ?

Please guide me.
# 5  
Old 09-17-2010
How to get the Solaris system information

I have tested /usr/platform/`uname -m`/sbin/prtdiag -v command with two solaris mahcine. Here below i give the output

Machine 1 :
uname -a
SunOS nms-t1000 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T1000

/usr/platform/`uname -m`/sbin/prtdiag -v

System Configuration: Sun Microsystems sun4v SPARC Enterprise T1000
System clock frequency: 200 MHz
Memory size: 8184 Megabytes
================================ Virtual CPUs ================================
CPU ID Frequency Implementation Status
------ --------- ---------------------- -------
0 1000 MHz SUNW,UltraSPARC-T1 on-line
1 1000 MHz SUNW,UltraSPARC-T1 on-line
2 1000 MHz SUNW,UltraSPARC-T1 on-line
3 1000 MHz SUNW,UltraSPARC-T1 on-line
......

Machine 2 :
uname -a
SunOS nms-solarisx86 5.10 Generic_137138-09 i86pc i386 i86pc

/usr/platform/`uname -m`/sbin/prtdiag -v
System Configuration: Sun Microsystems SUN FIRE X4150
BIOS Configuration: American Megatrends Inc. 1ADQW052 07/04/2008
BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)

==== Processor Sockets ===================
Version Location Tag
-------------------------------- --------------------------
Intel(R) Xeon(R) CPU E5410 @ 2.33GHz CPU 1

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.
# 6  
Old 09-17-2010
The first machine is Sun Enterprise T1000

CPU family/model = 1.0 GHz UltraSPARC T1 processor

Cache memory, find it here: Sun SPARC Enterprise T1000 Server - Technical Specifications ( 16 KB instruction, 8 KB primary data cache, 3 MB integrated L2 )




The Second Machine is Sun Fire X4150

Specs here = Sun Fire X4150 Server - Technical Specifications


CPU family/model = Quad-Core Intel Xeon E5410 (2x6MB L2, 2.33 GHz, 1333 MHz FSB, 80W)


as the "prtdiag" command showed CPU E5140, so I looked it up in the website above Smilie
# 7  
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.
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