linux 硬件相关命令 更新中现有(Dmidecode), 请…
2009-05-13 04:36:51来源:未知 阅读 ()
Dmidecode
Dmidecode reports information about your
system's hardware as described in your system BIOS according to the SMBIOS/DMI
standard (see a sample output). This information typically includes system
manufacturer, model name, serial number, BIOS version, asset tag as well as a
lot of other details of varying level of interest and reliability depending on
the manufacturer. This will often include usage status for the CPU sockets,
expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of
I/O ports (e.g. serial, parallel, USB).
Part of the dmidecode code can be found in the Linux kernel, where DMI data is
used to enable or disable specific portions of code depending on the specific
hardware. Thus, one use of dmidecode is for kernel developers to detect system
"signatures" and add them to the kernel source code when needed.
Beware that DMI data have proven to be too unreliable to be blindly trusted.
Dmidecode does not scan your hardware, it only reports what the BIOS told it
to.
Dmidecode was first written by Alan Cox and is now being further developed and
maintained by Jean Delvare. It is released under the General Public License
(GPL). For more details, you should have a look at the AUTHORS and LICENSE
files that come with the source code.
Three additional tools come with dmidecode:
* biosdecode prints all BIOS related information it can
find (see a sample output);
* ownership retrieves the "ownership tag"
that can be set on Compaq computers;
* vpddecode prints the "vital product data"
information that can be found in almost all IBM computers (see a sample
output).
以上来源于
http://www.zjtmd.net/english/show.php?id=632
举例:
1,读出机器的S/N
DELL的机器:
[root@sz-ms-meil-linux ~]#
/usr/sbin/dmidecode | grep "Serial Number"
Serial Number:
Serial Number:
..CN1374047Q00OJ.
Serial Number:
兼容机和国产机基本上读不出任何有意义的数据。
[root@Meil sda1]# dmidecode | grep
"Serial Number"
Serial Number:
Serial Number:
Serial Number:
安装方法:
]#mv
dmidecode-2.4.tar.gz /usr/local/
]#tar -xzvf dmidecode-2.4.tar.gz
]# make install
install -m 755 dmidecode /usr/local/sbin
install -m 755 biosdecode /usr/local/sbin
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- OpenBSD FAQ 中文版(非官方) 2009-05-13
- PC-BSD 7.1不能登录 2009-05-13
- 有意运营网络棋牌游戏的朋友大家好 2009-05-13
- freebsd更新系统的革新 2009-05-13
- 用cvsup更新Port tree 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash