zoukankan      html  css  js  c++  java
  • linux下查看各硬件型号

    查看主板型号

    # dmidecode |grep -A 8 "System Information"System Information

    上网查DELL CS24-TY,找到说主板型号是DELL PowerEdge C1100

    查看cpu型号,主频

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

    查看内存

    # free -m

    查看内存条数

    [root@localhost ~]# dmidecode -t memory|grep Size

    查看硬盘大小,分区

    [root@localhost ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 119G 17G 96G 15% /

    查看raid卡,raid卡为DELL PERC 6/i

    [root@localhost ~]# dmesg |grep -i raid

    查看网卡

    [root@localhost ~]# lspci | grep -i 'eth'
    05:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
    05:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)

    查看2号网络流量

    # sar -n DEV -f /var/log/sa/sa2 |grep eth|less

    查看板载显示信息

    [root@localhost ~]# dmidecode |grep -A 5 
    "On Board Device Information"
    On Board Device Information
  • 相关阅读:
    [ Docker ] 基础安装使用及架构
    [ Docker ] 基础概念
    Nginx
    ELK
    SVN + Jenkins 构建自动部署
    Zabbix
    ELK
    ELK 部署文档
    vue.js在visual studio 2017下的安装
    vue.js是什么
  • 原文地址:https://www.cnblogs.com/paul8339/p/6676632.html
Copyright © 2011-2022 走看看