zoukankan      html  css  js  c++  java
  • linux 下查看cpu信息

    linux 操作系统的位数查看

    A. getconf LONG_BIT 如果是32表示是32位

    B.  file /sbin/init信息全面一些

    root@kali:~/software# file /sbin/init
    /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xb137367bf955d6ab9e17a1395b8768cbc1603e58, stripped

    c. uname -a

    root@kali:~/software# file /sbin/init
    /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xb137367bf955d6ab97a1395b1768cbc1603e58, stripped

    d. 还有这两条指令,结果不一样》》》

    root@kali:~/software#  echo $HOSTTYPE
    i486
    root@kali:~/software# uname -m
    i686
    root@kali:~/software# 

    e.  AIX查看硬件cpu位数和os位数

    显示机器硬件是32位还是64位

    # bootinfo -y
    64

    查看aix操作系统是32位还是64位

    # bootinfo -K
    64

    f. 查看cpu物理信息,过于全面了

    root@kali:~/software# dmidecode | more
    # dmidecode 2.11
    SMBIOS 2.4 present.
    17 structures occupying 909 bytes.
    Table at 0x7FDBC000.
    
    Handle 0x0008, DMI type 0, 24 bytes
    BIOS Information
        Vendor: Hewlett-Packard
        Version: 68CPP Ver. F.08
        Release Date: 05/27/2010
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 2048 kB
        Characteristics:
            PCI is supported
            PC Card (PCMCIA) is supported
            BIOS is upgradeable
            BIOS shadowing is allowed
            Boot from CD is supported
  • 相关阅读:
    postman中 form-data、x-www-form-urlencoded、raw、binary的区别
    常见的http response
    ==容易错误的例子
    点击panel滚动条滚动到底部
    fabric实现文本聚焦、可编辑
    JSON.parse()和JSON.stringify()的使用
    centos7安装mysql
    阿里云第一次访问tomcat非常慢的解决办法
    java中的语法糖
    jvm | 基于栈的解释器执行过程
  • 原文地址:https://www.cnblogs.com/vigarbuaa/p/3479486.html
Copyright © 2011-2022 走看看