lscpu,lspci,lsblk,lsscsi命令,

來源:互聯網
上載者:User

lscpu,lspci,lsblk,lsscsi命令,

[root@rhel63single kernels]# uname -r2.6.32-279.el6.x86_64[root@rhel63single kernels]# uname -aLinux rhel63single 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux[root@rhel63single kernels]# lscpuArchitecture:          x86_64CPU op-mode(s):        32-bit, 64-bitByte Order:            Little EndianCPU(s):                4 ----->這是邏輯cpu的個數。On-line CPU(s) list:   0-3Thread(s) per core:    1Core(s) per socket:    1CPU socket(s):         4NUMA node(s):          1Vendor ID:             GenuineIntelCPU family:            6Model:                 58Stepping:              9CPU MHz:               2494.399BogoMIPS:              4988.79L1d cache:             32KL1i cache:             32KL2 cache:              256KL3 cache:              3072KNUMA node0 CPU(s):     0-3[root@rhel63single kernels]# lsusb  --->lsusb命令顯示usb裝置的情況。Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual MouseBus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB HubBus 002 Device 004: ID 0e0f:0008 VMware, Inc. [root@rhel63single kernels]# lsblk    --->lsblk命令顯示塊裝置的情況。NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTsr0     11:0    1   3.4G  0 rom  /mediasda      8:0    0    15G  0 disk ├─sda1   8:1    0   200M  0 part /boot├─sda2   8:2    0     2G  0 part [SWAP]└─sda3   8:3    0  12.8G  0 part /sdb      8:16   0    20G  0 disk └─sdb1   8:17   0    20G  0 part /u02[root@rhel63single kernels]# lsscsi   --->lsscsi命令顯示scsi裝置(包括sata,fc,sas,scsi等)的情況。[1:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR10 1.00  /dev/sr0 [2:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda [2:0:1:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sdb


 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.