Sponsored Content
Operating Systems Solaris Anyone know how to get Serial number with 1 command? Post 98000 by michaelshon on Friday 3rd of February 2006 07:40:07 PM
Old 02-03-2006
Quote:
Originally Posted by frustrated1
I went to site and retrieve the serial number visually, but would still be interested if anyone knows how to obtain the serial number of a system from the command line for future knowledge...
Now that you've gone to the site to read the physical serial number,
you might get some benefit from the "sneep" tool from Sun.

Sun Sneep - Serial Number in EEPROM

Sneep provides a persistent, software-accessible Chassis Serial Number (CSN) for virtually all Sun Solaris hardware platforms. Sneep uses the system EEPROM for storage of the Chassis Serial Number and any other important user-defined data such as asset, contract, or location information. The presence of the software-accessible serial number and other service-related information can significantly simplify activities related to system service and asset management.

Sneep can keep the serial and other asset information right in the eeprom
where it's handy, protected, and stays associated with the machine,
and it gives you easy access to it in software.

Whenever possible, sneep gets the serial from the machine from any of several different data sources and commands. If sneep cannot find it, it depends on you to supply it after your trip to the data center.

BTW-
some of the newer Sun machines do provide software access to the true serial number,
like the SF3800-6800, the SF12K/SF15K, and newer . Most of those keep the serial
in the System Controller or the ALOM processor, and getting it still takes some work,
but at least it is possible.
Sneep is definitely the easiest thing to use.
Once you have the serial number, sneep will keep it safe and handy.

Last edited by michaelshon; 05-25-2008 at 01:08 AM.. Reason: Add fact that sneep can now get serial automatically on many machines
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

serial number for E3500

just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Discussion started by: i2admin
3 Replies

2. Shell Programming and Scripting

Tape Serial Number

Hello Experts, I've got a shell script that makes the backup of the files that i want. I also have this script showing the amount of files backed up and in witch folders they are. It's only missing one thing. I got all the information beeing stored in a text file and all i've got to do is to... (6 Replies)
Discussion started by: jorge.ferreira
6 Replies

3. AIX

how to find serial number

hi how to find ( server machine )serial number throught the command in AIX thanks for your replay (3 Replies)
Discussion started by: chomca
3 Replies

4. Solaris

Display Serial Number

Hello, I am running Solaris 9 and I need to display the serial number of my machine. How can I do this? Here is my machine info: SunOS birch 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-V240 Thank you, David (5 Replies)
Discussion started by: dkranes
5 Replies

5. Solaris

Serial number

Hi Solarizer ;) I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine. Any body knows how to gather this information by the command ? ... (4 Replies)
Discussion started by: tpx99
4 Replies

6. Linux

Device serial number

Hey! I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk. If i run cat /proc/bus/usb/devices I get this information: T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00... (2 Replies)
Discussion started by: noratx
2 Replies

7. Solaris

Finding server serial number

Hi All, I wnat to know how to find out the Server serial number in command prompt? I am using sneep command but it throughing unknown. Thanks and Regards, (8 Replies)
Discussion started by: lbreddy
8 Replies

8. Shell Programming and Scripting

How do I use sed to return only the serial number here?

I'd appreciate the help and explaining "which each switch/command does. Thanks in advance. 1742@3min# ./fmtopo|grep serial hc://:product-id=SUNW,Sun-Blade-2500:server-id=c3admin:serial=130B58E3146/motherboard=0/cpu=0 (2 Replies)
Discussion started by: LittleLebowski
2 Replies

9. Shell Programming and Scripting

Help about bind serial number

Hello folks. Please let me understand the bind serial number. I am confuse. 13011321 ---------- Post updated at 08:32 AM ---------- Previous update was at 07:55 AM ---------- Thanks problem is solved. (1 Reply)
Discussion started by: learnbash
1 Replies
LIBFREEIPMI(3)							    LIBFREEIPMI 						    LIBFREEIPMI(3)

NAME
libfreeipmi - FreeIPMI library Introduction Libfreeipmi is the primary library that most of the FreeIPMI tools are based upon. The following describe the sub-sections of the library. api The highest level API provided by libfreeipmi. It abstracts away the details of inband and outofband protocols from the user. It also provides useful error codes for the user to easily interpret IPMI problems. 'api' is used by most FreeIPMI tools and libraries, such as bmc-info(8), ipmi-sensors(8), and libipmimonitoring(3). cmds Provides fiid templates and 'fill' functions for IPMI commands. Also provides macros definining common parameters for IPMI commands. The cmds are used by most other portions of libfreeipmi including the 'api' sub-section and tools such as ipmipower(8) and ipmicon- sole(8). debug Provides various packet/record dumping utility functions. Utilized by the 'api' subsection and by tools such as ipmipower(8) and ipmiconsole(8). driver Provides APIs for in-band IPMI communication. Currently supported drivers are KCS, SSIF, and OpenIPMI. The 'driver' subsction is used by tools such as bmc-watchdog(8) and the 'api' sub-section. fiid The "FreeIPMI Interface Definition" provides an API used for the construction/deconstruction of packets in libfreeipmi. The API works around fiid-templates, which are then used to create fiid-objects. Fiid-templates are used to describe packets through a string-name to bit-field mapping. The API allows users to read/write fields in an object using the string to bit-field mapping. Mar- shalling, packing, endian, and various other network issues are handled within 'fiid'. Fiid objects are used throughout libfreeipmi, including the 'api' sub-section, 'cmds' sub-sections, and various tools. fru-parse Provides an API for parsing Field Replaceable Unit (FRU) records. Utilized by tools such as ipmi-fru(8). interface Provides 'assemble' and 'disassemble' functions for building packets for individual in-band or out-of-band protocols. Also provides all necessary fiid templates, 'fill' functions, and other utility functions necessary to communicate on an IPMI interface. Utilized by the 'api' sub-section and tools such as ipmipower(8) and ipmiconsole(8). interpret Provides an API for interpreting sensor events by mapping them into Nominal, Warning, or Critical states. Utilized by FreeIPMI tools and libraries such as ipmi-sensors(8) and libipmimonitoring(3). locate Provides an API to probe several standards to find default values for in-band IPMI communication. Utilized by the 'api' sub-section and the ipmi-locate(8) tool. record-format Provides macros, fiid-templates, and information on records used in IPMI. Utilized by the 'sdr-cache' subsection and tools like ipmi-sensors(8). sdr-cache Provides an API for creating, caching, reading, and parsing a sensor data repository (SDR). Utilized by tools such as ipmi-fru(8) and ipmi-sensors(8). sdr-parse Provides an API for parsing SDR records. Utilized by tools such as ipmi-fru(8) and ipmi-sensors(8) sel-parse Provides an API for reading and parsing System Event Log (SEL) entries. Utilized by tools such as ipmi-sel(8). sensor-read Provides an API for reading a sensor. Utilized by tools such as ipmi-sensors(8). spec Provides macros and arrays for various other definitions and tables in IPMI. Utilized by tools such as ipmi-sensors(8). util Provides various utility functions for the calculation of keys, sensor readings, etc. Utilized by most of the rest of FreeIPMI. FILES
/usr/include/freeipmi.h /usr/include/freeipmi/ COPYRIGHT
Copyright (C) 2003-2012 FreeIPMI Core Team. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. SEE ALSO
libipmiconsole(3), libipmidetect(3), libipmimonitoring(3), freeipmi(7), bmc-config(8), bmc-info(8), bmc-watchdog(8), ipmi-chassis(8), ipmi- fru(8), ipmi-locate(8), ipmi-oem(8), ipmi-raw(8), ipmi-sel(8), ipmi-sensors(8), ipmi-sensors-config(8), ipmiconsole(8), ipmidetect(8), ipmiping(8), ipmipower(8), ipmi-pef-config(8), rmcpping(8) http://www.gnu.org/software/freeipmi/ libfreeipmi 1.1.5 @ISODATE LIBFREEIPMI(3)
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy