linux_机器信息查询

查看系统版本:
[root@css-management ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-
Distributor ID: CentOS
Description: CentOS release 6.2 (Final)
Release: 6.2
Codename: Final

查看当前操作系统的内核信息

[root@css ~]# uname -a
Linux css 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

# uname -a 
Linux euis1 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 
 
i686 i386 GNU/Linux 
(查看当前操作系统内核信息) 
 
查看机器型号:

[root@css ~]# dmidecode | grep "Product Name"
Product Name: OptiPlex 390
Product Name: 0M5DCD

查看网卡信息:
[root@css ~]# dmesg | grep -i eth
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:03:00.0: eth0: RTL8168evl/8111evl at 0xffffc90005792000, 78:45:c4:0e:38:b1, XID 0c900800 IRQ 31
r8169 0000:03:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
udev: renamed network interface eth0 to p4p1

posted @ 2014-10-15 10:43  患.者  阅读(255)  评论(0编辑  收藏  举报