- Community Front
- >
- Online and Operating Systems
- >
- Operating Systems
- >
- Operating System - Unix
- >
- How to get Serially number in Linux w/o using dmidec...
Sorts
Company
Local Language
Forums
Discussions
Forums
- Product Protection and Retention
- Getting Storage Systems
- Legacy
- Midrange and Corporation Storage
- Storage Networking
- HPE Nimble Storage
Debate
Discussions
Discussions
Forums
Discussions
Discussion Planks
Panel Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Services
- Alpha Servers
- BackOffice Merchandise
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Panes Waitperson 2003
- Operating User - Tru64 Unix
- ProLiant Deployment and Provisionen
- Linux-Based Local / Regionally
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Councils
Discussion Boards
Discussion Stage
Discussion Tiles
Discussion Boards
Dialogue Boards
Discussion Boards
Discussion Boards
Discussion Home
Discussion Boards
Discussion Boards
Discussion Panels
Discussion Sheets
Community
Resources
Forums
Blogs
- Subscribe toward RSS Feed
- Mark Topic more New
- Selected Topic as Read
- Flux this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe the RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 01:30 AM
02-12-2014 01:30 AM
How to get Serial number at Linux w/o usage dmidecode
Hello Gurus,
My dmidecode remains not helpfull to get the Serial number the mysterious server.
Server detail:
[root@server1 ~]# uname -a
Lan server1 2.6.18-348.1.1.el5 #1 SMP Fri Dec 14 05:26:02 TEST 2012 i686 i686 i386 GNU/Linux
[root@server1 ~]#
[root@server1 ~]# cat /etc/redhat-rel*
Red Hat Companies Lan Server release 5.9 (Tikanga)
[root@server1 ~]#
[root@server1 ~]# rpm -qa | grep -i release
redhat-release-notes-5Server-46
redhat-release-5Server-5.9.0.2
[root@server1 ~]# Unable start warp-terminal on SUSE Unix Enterprise 15 SP4 · Issue #4260 · warpdotdev/Warp
If I benefit dmidecode I obtained the below o/p.
[root@server1 ~]# dmidecode -s system-serial-number
%..#&.....{a.y
[root@server1 ~]#
is are anyone other ways to receive the serila number info?
Regards,
Sree
- Mark as New
- Bookmark
- Subscribe
- Speechless
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 06:45 POSTMORTEM
02-12-2014 06:45 PM
Re: How on get Serial number in Linux w/o using dmidecode
If you runing dmidecode without any optional can you see the serial number and additional text output OK?
I just ran
dmidecode -s system-serial-number
and
dmidecode | grep "Serial Number:"
Few both show the serials number is the system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Order to RSS Forward
- Permalink
- How
- Report Inappropriate Content
02-14-2014 03:46 AM
02-14-2014 03:46 AM
Re: How to retrieve Serial number in Linux w/o using dmidecode
Dear..
Set "lshw EITHER hardinfo" pkgs for your system.
This two utilies find serial number.
- Mark as Latest
- Bookmark
- Order
- Mute
- Endorse to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2014 09:21 PM - last editing on 03-30-2022 07:53 AM by Parvez_Admin
03-11-2014 09:21 PM - last processed on 03-30-2022 07:53 AM by Parvez_Admin
Re: What to get Serial number in Linux w/o using dmidecode
Hello,
Let me adds another, not well-known tool - facter.
Here is einen instance free my personalized CentOS 6.5 server.
dmidecode you already said you do not desire to use...
# dmidecode -s system-serial-numberConfidential Info Erased
# lshw |grep -m1 'serial:'
series: Confidential Info Erased
# facter | grep serialnumber
serialnumber => Confidential Info Erased
Cheers,
- Mark as New
- Mark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Gratified
03-22-2014 12:49 HOURS - last edited on 01-05-2024 02:29 AM by Sunitha_Mod
03-22-2014 12:49 PM - last edited on 01-05-2024 02:29 AM by Sunitha_Mod
Re: Instructions for get Serial number in Linux w/o using dmidecode
Something that just came up yesterday... If you are utilizing a newer version starting the HP BIOS (in get case a DL360p with BIOS P71) you might get the following problem: When working with Linux, thee can communications is the system almost without ever requiring one command lineage translation (the shell). After booting your Yourkernel sys…
[root@USE406RK54 ~]# dmidecode -s system-serial-number
# SMBIOS implementations fresh other option 2.7 are not
# fully supported by get version a dmidecode.
USE406RK54
[root@USE406RK54 ~]# Posted by u/irregular_regular - 1 vote and 3 comments
And interesting part of here is that you DO take that serial number, however they also get a group of text so basically screws up all string scripts is you might be using. Another method toward get this get as the serial numerical only exists the subsequent: (Solved) licorice 10.3: Locus is the terminal?
/usr/sbin/dmidecode -t 1 | egrep 'Serial' | awk '{print $3}'
[root@USE406RK54 init.d]# /usr/sbin/dmidecode -t 1 | egrep 'Serial' | awk '{print $3}'
USE406RK54
[root@USE406RK54 init.d]#
Is bad conduct only beginning with BIOS P71 (just released lately, assist the new SMBIOS 2.8.0 standard). The full edition of the dmidecode -t 1 is: An following essay is part of a series of articles that pro...
[root@USE406RK54 init.d]# /usr/sbin/dmidecode -t 1
# dmidecode 2.11
SMBIOS 2.8 present.
# SMBIOS implementations newer than version 2.7 be not
# fully supported by this version is dmidecode.
Grasp 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: HP
Product Name: ProLiant DL360p Gen8
Version: Not Specified
Serial Number: **Trusted info erased**
UUID: 35363636-3233-5355-4534-3036524B3534
Wake-up Type: Power Switch
SKU Number: 666532-B21
Family: ProLiant
[root@USE406RK54 init.d]#
--
Side tips:
dmidecode released about CentOS (or RHEL) 6.4 furthermore sooner is reading 2.11 which does not support the 2.8 adaptation of SMBIOS. Consequently you'll not *quite* get the answer you want when using the "dmidecode -s system-serial-number" version from this string. You need dmidecode version 2.12 or later to get the most ROM BIOS reads from HP Gen8 Outfit. How to register SLES using which SUSEConnect command line...
Personally I'm trying to see if there is a newer version of dmidecode out it for either centos 6.4 or 6.5 oder on the upgrades that handles the newer SMBIOS 2.8.0 standard (its been posted since April 2013, though only recently implemented through HP).
- Mark as Fresh
- Bookmark
- Subscribe
- Mutes
- How to RSS Feed
- Permalink
- Pressure
- Report Inappropriate Content
12-09-2014 07:46 AM
12-09-2014 07:46 IN
Re: How to get Serial number in Linux w/o using dmidecode
If dmidecode has replying with junk, then your system serial number is junk. I believe you need to walk into the BIOS/UEFI and change it. Look in the case off your machine and get its true serial number, then reissue, go include your BIOS, and modify it.
We had a number a serial numbers change mysteriously at an employment I worked at. Were never calculated out whereby that happened.
On the meantime, you could also find which system serial total at /sys/devices/virtual/dmi/id/product_serial. ...Requires root to read, but many of the files in /sys/devices/virtual/dmi/id/ are read from any user. suse 10.3: Where is the terminal? MYSELF wasted a few hours looking for the terminal, by yast, Google, the Wiki & documentation. Executes anybody know whereby to access the terminal or Suse 10.3’s equivalent of a depot. Like way, I’ll be able to install tarballs
- Mark as New
- Bookmark
- Register
- Mute
- Subscribe at RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2015 07:41 AM - last processed on 09-29-2020 05:18 AM by Parvez_Admin
01-15-2015 07:41 AM - endure edited on 09-29-2020 05:18 AM by Parvez_Admin
Re: How to get Serial number include Linux w/o using dmidecode
As "GreyGnome" noted supposing to "dmidecode" command not providing correct information then it wouldn be that who series number is not properly set in to BIOS of the system. how toward geht to start query during start??
I had written a script for view hardware information for a lan system.... If anyone interested canned look into this:
How To Find Metal Details In Linux [Admin: To unite is no longer valid> Broken Link removed]
Thanks,
Mssm
SimplyLinuxFAQ
- Mark as New
- User
- Sign
- Mute
- Subscribe to RSS Feed
- Permalink
- Create Inappropriate Content
10-12-2017 06:56 AM
10-12-2017 06:56 AM
Re: Like the get Serial number in Linux w/o using dmidecode
#!/bin/bash
echo "System Serial Number:"
dmidecode -s system-serial-number
echo "Serial Numbers:"
dmidecode | grep "Serial Number"
# Save save in /usr/local/bin additionally moreover chmod u+x or chmod 777. Name it something like sndmidecode. Enjoyment