首页 > 其他分享 >查看基本信息

查看基本信息

时间:2022-11-20 04:33:06浏览次数:52  
标签:基本 kB 查看 ept tsc 信息 cpuid root cpu

查看基本信息

1. 查看CPU信息

  • lscpu

    root@admin:~# lscpu 
    Architecture:                    x86_64
    CPU op-mode(s):                  32-bit, 64-bit
    Byte Order:                      Little Endian
    Address sizes:                   43 bits physical, 48 bits virtual
    CPU(s):                          8
    On-line CPU(s) list:             0-7
    Thread(s) per core:              1
    Core(s) per socket:              4
    Socket(s):                       2
    NUMA node(s):                    1
    Vendor ID:                       GenuineIntel
    CPU family:                      6
    Model:                           158
    Model name:                      Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    Stepping:                        10
    CPU MHz:                         2400.001
    BogoMIPS:                        4800.00
    Virtualization:                  VT-x
    Hypervisor vendor:               VMware
    Virtualization type:             full
    L1d cache:                       64 KiB
    L1i cache:                       64 KiB
    L2 cache:                        512 KiB
    L3 cache:                        16 MiB
    NUMA node0 CPU(s):               0-7
    Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
    Vulnerability L1tf:              Mitigation; PTE Inversion; VMX flush not necessary, SMT disabled
    Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
    Vulnerability Meltdown:          Mitigation; PTI
    Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
    Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
    Vulnerability Spectre v2:        Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling
    Vulnerability Srbds:             Unknown: Dependent on hypervisor status
    Vulnerability Tsx async abort:   Not affected
    Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscal
                                     l nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq v
                                     mx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervis
                                     or lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_
                                     ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat 
                                     flush_l1d arch_capabilities
    
  • cat /proc/cpuinfo

    root@admin:~# cat /proc/cpuinfo 
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 4
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 4
    apicid          : 1
    initial apicid  : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 2
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 0
    siblings        : 4
    core id         : 2
    cpu cores       : 4
    apicid          : 2
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 3
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 0
    siblings        : 4
    core id         : 3
    cpu cores       : 4
    apicid          : 3
    initial apicid  : 3
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 4
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 1
    siblings        : 4
    core id         : 0
    cpu cores       : 4
    apicid          : 4
    initial apicid  : 4
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 5
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 1
    siblings        : 4
    core id         : 1
    cpu cores       : 4
    apicid          : 5
    initial apicid  : 5
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 6
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 1
    siblings        : 4
    core id         : 2
    cpu cores       : 4
    apicid          : 6
    initial apicid  : 6
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    
    processor       : 7
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 158
    model name      : Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    stepping        : 10
    microcode       : 0xde
    cpu MHz         : 2400.001
    cache size      : 8192 KB
    physical id     : 1
    siblings        : 4
    core id         : 3
    cpu cores       : 4
    apicid          : 7
    initial apicid  : 7
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 22
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xsaves arat flush_l1d arch_capabilities
    vmx flags       : vnmi invvpid ept_x_only ept_ad tsc_offset vtpr mtf ept vpid unrestricted_guest ple ept_mode_based_exec
    bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
    bogomips        : 4800.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 43 bits physical, 48 bits virtual
    power management:
    

2. 查看内存信息

  • free

    root@admin:~# free
                  total        used        free      shared  buff/cache   available
    Mem:        4278828      366000     3238852        1644      673976     3677944
    Swap:       4194300           0     4194300
    
  • cat /proc/meminfo

    root@admin:~# cat /proc/meminfo 
    MemTotal:        4278828 kB
    MemFree:         3238348 kB
    MemAvailable:    3677528 kB
    Buffers:           31348 kB
    Cached:           592412 kB
    SwapCached:            0 kB
    Active:           130412 kB
    Inactive:         609676 kB
    Active(anon):       1544 kB
    Inactive(anon):   118332 kB
    Active(file):     128868 kB
    Inactive(file):   491344 kB
    Unevictable:       19628 kB
    Mlocked:           19628 kB
    SwapTotal:       4194300 kB
    SwapFree:        4194300 kB
    Dirty:                28 kB
    Writeback:             0 kB
    AnonPages:        135984 kB
    Mapped:           149328 kB
    Shmem:              1644 kB
    KReclaimable:      50276 kB
    Slab:             122856 kB
    SReclaimable:      50276 kB
    SUnreclaim:        72580 kB
    KernelStack:        7376 kB
    PageTables:         2948 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     6333712 kB
    Committed_AS:    1013380 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:       59200 kB
    VmallocChunk:          0 kB
    Percpu:            82944 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:         0 kB
    ShmemHugePages:        0 kB
    ShmemPmdMapped:        0 kB
    FileHugePages:         0 kB
    FilePmdMapped:         0 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    Hugetlb:               0 kB
    DirectMap4k:      177984 kB
    DirectMap2M:     3270656 kB
    DirectMap1G:     2097152 kB
    

3. 查看硬盘及磁盘分区

  • lsblk

    root@admin:~# lsblk
    NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    loop0                       7:0    0  55.6M  1 loop /snap/core18/2538
    loop1                       7:1    0  55.6M  1 loop /snap/core18/2620
    loop2                       7:2    0    62M  1 loop /snap/core20/1593
    loop3                       7:3    0  63.2M  1 loop /snap/core20/1695
    loop4                       7:4    0   103M  1 loop /snap/lxd/23367
    loop5                       7:5    0 136.4M  1 loop /snap/lxd/23889
    loop6                       7:6    0  49.6M  1 loop /snap/snapd/17576
    loop7                       7:7    0    48M  1 loop /snap/snapd/17336
    sda                         8:0    0   100G  0 disk 
    ├─sda1                      8:1    0     1M  0 part 
    ├─sda2                      8:2    0     1G  0 part /boot
    └─sda3                      8:3    0    99G  0 part 
      └─ubuntu--vg-ubuntu--lv 253:0    0  49.5G  0 lvm  /
    sr0                        11:0    1  1024M  0 rom 
    
  • cat /proc/partitions

    root@admin:~# cat /proc/partitions
    major minor  #blocks  name
    
       7        0      56896 loop0
       7        1      56916 loop1
       7        2      63448 loop2
       7        3      64760 loop3
       7        4     105476 loop4
       7        5     139652 loop5
       7        6      50832 loop6
       7        7      49140 loop7
       8        0  104857600 sda
       8        1       1024 sda1
       8        2    1048576 sda2
       8        3  103805952 sda3
      11        0    1048575 sr0
     253        0   51904512 dm-0
    

4. 查看系统版本信息

  1. 查看系统架构 arch

    root@ubuntu2004:~# arch
    x86_64
    
    [root@centos8 ~]# arch
    x86_64
    
    [root@rhel5 ~]# arch
    i686
    
  2. 查看内核版本 uname -r

    [root@centos8 ~]#uname -r
    4.18.0-147.el8.x86_64
    
    [root@centos7 ~]#uname -r
    3.10.0-1062.el7.x86_64
    
    [root@centos6 ~]# uname -r
    2.6.32-754.el6.x86_64
    
    [root@ubuntu1804 ~]#uname -r
    4.15.0-29-generic
    
  3. 查看操作系统发行版本

    #CentOS8 查看发行版本
    [root@centos8 ~]#cat /etc/redhat-release
    CentOS Linux release 8.1.1911 (Core)
    
    [root@centos8 ~]#cat /etc/os-release
    NAME="CentOS Linux"
    VERSION="8 (Core)"
    ID="centos"
    ID_LIKE="rhel fedora"
    VERSION_ID="8"
    PLATFORM_ID="platform:el8"
    PRETTY_NAME="CentOS Linux 8 (Core)"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/o:centos:centos:8"
    HOME_URL="https://www.centos.org/"
    BUG_REPORT_URL="https://bugs.centos.org/"
    CENTOS_MANTISBT_PROJECT="CentOS-8"
    CENTOS_MANTISBT_PROJECT_VERSION="8"
    REDHAT_SUPPORT_PRODUCT="centos"
    REDHAT_SUPPORT_PRODUCT_VERSION="8"
    
    [root@centos8 ~]#lsb_release -a
    LSB Version: :core-4.1-amd64:core-4.1-noarch
    Distributor ID: CentOS
    Description: CentOS Linux release 8.1.1911 (Core)
    Release: 8.1.1911
    Codename: Core
    [root@centos8 ~]#
    
    #ubuntu查看发行版本
    [root@ubuntu1804 ~]#cat /etc/os-release
    NAME="Ubuntu"
    VERSION="18.04.1 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04.1 LTS"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-
    policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
    
    [root@ubuntu1804 ~]#cat /etc/issue
    Ubuntu 18.04.1 LTS \n \l
    
    [root@ubuntu1804 ~]#lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 18.04.1 LTS
    Release: 18.04
    Codename: bionic
    [root@ubuntu1804 ~]#
    

lsb_release的用法

root@ubuntu2004:~# lsb_release -is
Ubuntu
root@ubuntu2004:~# lsb_release -cs
focal
root@ubuntu2004:~# lsb_release -rs
20.04

[root@centos7 ~]#lsb_release -is
CentOS
[root@centos7 ~]#lsb_release -cs
Core
[root@centos7 ~]#lsb_release -rs
7.9.2009

标签:基本,kB,查看,ept,tsc,信息,cpuid,root,cpu
From: https://www.cnblogs.com/Swollen/p/16907827.html

相关文章

  • table 下拉详细信息
    <html><head><title>JS内嵌表格</title><scripttype="text/javascript">vargseq=1;vargLastDetailImgObj=null;//显示详细信息functionsho......
  • Jquery常用基本语法以及使用
    一、选择网页元素jQuery的基本设计和主要用法,就是"选择某个网页元素,然后对其进行某种操作"。这是它区别于其他函数库的根本特点。使用jQuery的第一步......
  • 关于基本没有考试总结的博客的原因
    今天有个认识的高一学弟问我“为什么其他学长都有每天的考试总结,你怎么不写?”呃,其实真正原因挺简单且离谱的我一般拿笔在本上写因为顺带可以练字(绝对不是因为我基本改......
  • postgresql安装配置和基本操作
    postgresql安装配置和基本操作1.安装linux上安装最好是centos7.6或者7.8,参考官网PGSQL的官方地址:https://www.postgresql.org/PGSQL的国内社区:http://www.postgres.c......
  • 线程(Thread)基本用法
    一.线程的调用1.无参defrun_01():foriinrange(6,10):print("test01",i)time.sleep(1)th_01=threading.Thread(target=run_01)#创......
  • Springboot整合RabbitMQ基本使用
    1、依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency>2、rabbitmq链接配置......
  • mybatis学习第三部分:Mybatis基本应⽤
    3.1 快速⼊⻔MyBatis官⽹地址:http://www.mybatis.org/mybatis-3/ 3.1.1 开发步骤:①添加MyBatis的坐标②创建user数据表③编写User实体类④编写映射⽂件UserMappe......
  • 表空间基本语句
    默认永久表空间不能删除表空间和数据文件,必须换了后删除    ......
  • 67:函数的基本概念_内存分析_函数的分类_定义和调用
    ###函数简介###函数的基本概念1.一个程序由一个个任务组成;函数就是代表一个任务或者一个功能。2.函数是代码复用的通用机制。###Python函数的分类Python中函数分为......
  • Java基本运算符
    Java基本运算符算术运算符:+,-,*,/,%,++,--赋值运算符:=关系运算符:>,<,>=,<=,==,!=,instanceof(关系运算符返回的结果:正确或错误)逻辑运算符:&&,||,!(与、或、非)......