วิธีหา Service Tag ของเครื่อง Server Dell บน CentOS
ถ้าตัวเครื่อง อยู่ใกล้ๆ ก็เดินไปดูที่ฝาเครื่องได้เลย
แต่กรณี ฝากเครื่องไว้ที่ Colo ก็เป็นเรื่องยาก
ต้องใช้โปรแกรมเข้ามาช่วย โปรแกรมที่ว่า คือ
Login เข้าระบบ ด้วย ssh ในฐาน root
ติดตั้งโปรแกรม dmidecode กันก่อนด้วยคำสั่ง
yum -y install dmidecode
เสร็จแล้วรันคำสั่ง
dmidecode | grep -i serial
จะได้
[root@ns1 /]# /usr/sbin/dmidecode | grep -i serial
Serial services are supported (int 14h)
Serial Number: ******
Serial Number: ..******.
Serial Number: ******
Serial Number: Not Specified
Serial Number: ******
Serial Number: Not Specified
Serial Number: *****
Serial Number: Not Specified
ถ้าต้องการ ดู CPU
/usr/sbin/dmidecode -t 4
ความหมายของตัวเลขต่างๆ ที่เราสามารถดูค่าได้
Type Information ---------------------------------------- 0 BIOS 1 System 2 Base Board 3 Chassis 4 Processor 5 Memory Controller 6 Memory Module 7 Cache 8 Port Connector 9 System Slots 10 On Board Devices 11 OEM Strings 12 System Configuration Options 13 BIOS Language 14 Group Associations 15 System Event Log 16 Physical Memory Array 17 Memory Device 18 32-bit Memory Error 19 Memory Array Mapped Address 20 Memory Device Mapped Address 21 Built-in Pointing Device 22 Portable Battery 23 System Reset 24 Hardware Security 25 System Power Controls 26 Voltage Probe 27 Cooling Device 28 Temperature Probe 29 Electrical Current Probe 30 Out-of-band Remote Access 31 Boot Integrity Services 32 System Boot 33 64-bit Memory Error 34 Management Device 35 Management Device Component 36 Management Device Threshold Data 37 Memory Channel 38 IPMI Device 39 Power Supply
เพิ่มเติมคำสั่งดูรายละเอียด CPU
lscpu
ตัวอย่างผลที่ได้
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 42
Model name: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz
Stepping: 7
CPU MHz: 3199.902
CPU max MHz: 3400.0000
CPU min MHz: 1600.0000
BogoMIPS: 6185.64
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear spec_ctrl intel_stibp flush_l1d
ถ้าติดตั้ง VMWare สามารถเข้าไปดูได้ที่
Configuration >> Processors >> Service Tag จะอยู่ในส่วนของ System ข้อความที่ได้เช่น XH6TWX1 (ตัวเลขผลสมตัวอักษร 7 หลัก)
เช็ควันหมดอายุประกัน ได้ที่นี่ http://www.dell.com/support/home/us/en/19/products/?app=warranty