學習啦>學習電腦>電腦硬件知識>硬件知識>

linux怎么查看服務器硬件信息

時間: 捷鋒774 分享

  你們知道怎么用Linux查看服務器硬件的信息嗎?下面是學習啦小編帶來的關于linux怎么查看服務器硬件信息的內容,歡迎閱讀!

  linux怎么查看服務器硬件信息?

  Linux環(huán)境下查看服務器硬件信息

  查看CPU型號

  cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

  16 Intel(R) Xeon(R) CPU X5560 @ 2.80GHz

  查看物理CPU個數(shù)

  cat /proc/cpuinfo | grep physical | uniq -c

  1 physical id : 1

  1 physical id : 0

  查看CPU運行模式:32位或者64位,如果是32位的話并不代表不能運行在64位下

  getconf LONG_BIT

  查看是否CPU支持64位系統(tǒng),如果值大于0,則支持64位運算,lm指long mode

  cat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l

  查看內存信息

  cat /proc/meminfo

  MemTotal: 74175052 kB

  MemFree: 4242856 kB

  Buffers: 675664 kB

  Cached: 65423884 kB

  SwapCached: 16 kB

  Active: 46231212 kB

  Inactive: 20719936 kB

  HighTotal: 0 kB

  HighFree: 0 kB

  LowTotal: 74175052 kB

  LowFree: 4242856 kB

  SwapTotal: 75778596 kB

  SwapFree: 75778384 kB

  Dirty: 60 kB

  Writeback: 0 kB

  AnonPages: 851416 kB

  Mapped: 12422988 kB

  Slab: 1495940 kB

  PageTables: 1372180 kB

  NFS_Unstable: 0 kB

  Bounce: 0 kB

  CommitLimit: 112866120 kB

  Committed_AS: 21125340 kB

  VmallocTotal: 34359738367 kB

  VmallocUsed: 299916 kB

  VmallocChunk: 34359438111 kB

  HugePages_Total: 0

  HugePages_Free: 0

  HugePages_Rsvd: 0

  Hugepagesize: 2048 kB

  查看當前系統(tǒng)內核信息

  uname -a

  Linux HOSTNAME 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

  查看當前操作系統(tǒng)內核信息

  cat /etc/issue | grep Linux

  Red Hat Enterprise Linux Server release 5.4 (Tikanga)

  查看服務器型號

  dmidecode | grep "Product Name"

  Product Name: PowerEdge R710

  Product Name: 0VWN1R

  查看網卡信息

  dmesg | grep -i eth

  Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.9.3 (March 17, 2009)

  eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem d6000000, IRQ 106, node addr a4badb28c33d

  eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem d8000000, IRQ 114, node addr a4badb28c33f

  eth2: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem da000000, IRQ 122, node addr a4badb28c341

  eth3: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem dc000000, IRQ 130, node addr a4badb28c343

  cnic: Added CNIC device: eth0

  cnic: Added CNIC device: eth1

  cnic: Added CNIC device: eth2

  cnic: Added CNIC device: eth3

  bnx2: eth0: using MSIX

  ADDRCONF(NETDEV_UP): eth0: link is not ready

  bnx2i: iSCSI not supported, dev=eth0

  bnx2i: iSCSI not supported, dev=eth0

  bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex

  ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

  eth0: no IPv6 routers present

  process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.base_reachable_time; Usenet.ipv6.neigh.eth0.base_reachable_time_ms instead.

看了"linux怎么查看服務器硬件信息"文章內容的人還看:

1.linux中查看硬件信息的方法有哪些

2.Linux怎么搭建常用服務器

3.Linux服務器監(jiān)控工具

4.linux怎么查看內存

5.Linux怎么配置Web服務器

6.linux操作系統(tǒng)監(jiān)控工具

7.服務器上怎么安裝linux系統(tǒng)

8.Linux怎么搭建Web服務器

9.如何在LINUX操作系統(tǒng)下測試DHCP服務器

10.認識linux系統(tǒng)常見系統(tǒng)服務

753965