LinuxQuestions.org
Visit Jeremy's Blog.
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 04-18-2011, 01:12 PM   #1
Thalha Rahim
LQ Newbie
 
Registered: Apr 2011
Location: INDIA
Posts: 8

Rep: Reputation: 3
Question Command to get Serial Number


Please help me to find out the Chassis serial number of the server from command line,

Sneep utility is a solution but i cannot install the same in my server due to security baseline. Is there any generic solaris command available?
 
Old 04-18-2011, 01:39 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Almost certainly not.

You may try: prtdiag -v

Or, if your server has an XSCF (not SC or OBP), the information may be found by dropping down to the XSCF and running "showhardconf".

If not, then you need to install sneep and set the serial number after looking it up on the physical machine.

If the machine is x86-based, "smbios | grep Serial" might work.
 
Old 04-22-2011, 01:41 PM   #3
Thalha Rahim
LQ Newbie
 
Registered: Apr 2011
Location: INDIA
Posts: 8

Original Poster
Rep: Reputation: 3
Thank you for your quick response,
My hardware is T2000 [SPARC and do not have XSCF] and "prtdiag -v" is not providing required info.
As i cannot access the server physically, "almost certainly no" way to find out the Serial No.?
 
Old 04-22-2011, 04:16 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Other than asking someone who does have physical access, or inspecting your PO or order information, correct. It's not stored in the firmware or anything unless you use sneep.
 
Old 02-20-2018, 09:50 AM   #5
GHurling
LQ Newbie
 
Registered: Feb 2018
Posts: 1

Rep: Reputation: Disabled
Command to get Serial Number or Chassis serial number in linux

Command to get Serial Number

About an old post I've find this and I want to share with you:

#sudo dmidecode|more
or
#sudo dmidecode|grep "Serial Number"

Thanks
 
Old 02-20-2018, 10:28 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,143

Rep: Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360Reputation: 5360
Quote:
Originally Posted by GHurling View Post
Command to get Serial Number
About an old post I've find this and I want to share with you:

#sudo dmidecode|more
or
#sudo dmidecode|grep "Serial Number"
Yes, but:
  • This thread had been closed for SEVEN YEARS at this point.
  • The command you posted is for Linux...this thread is about Solaris
  • And even if the command existed seven years ago on Solaris...there is still nothing to tie the chassis ID to it. The chassis is not electronic..it's a metal box.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] How to find out the serial number of my hard disk through command line on OpenSuse 11.2 ? TheIndependentAquarius Linux - Newbie 20 07-12-2010 06:36 AM
is there a command i can run that will give me the serial number on solaris Imtiaz Deen Solaris / OpenSolaris 3 11-03-2009 07:04 AM
command to get the serial number of linux box bhatpp Linux - Newbie 4 09-19-2007 10:45 AM
Need scsi command to get serial number of a scsi tape romeshs Programming 1 09-04-2006 06:24 AM

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

All times are GMT -5. The time now is 02:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration