xiaobaoqiu@xiaobaoqiu:~/octopress$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4 //逻辑cpu的个数
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA 节点: 1
厂商 ID: GenuineIntel
CPU 系列: 6
型号: 58
步进: 9
CPU MHz: 1200.000
BogoMIPS: 5183.37
虚拟化: VT-x
L1d 缓存: 32K
L1i 缓存: 32K
L2 缓存: 256K
L3 缓存: 3072K
NUMA node0 CPU(s): 0-3
2.lsusb
lsusb命令显示usb设备的情况
123456789
xiaobaoqiu@xiaobaoqiu:~/octopress$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 002: ID 04b3:3025 IBM Corp. NetVista Full Width Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3.lsblk
lsblk命令显示块设备的情况
123456789
xiaobaoqiu@xiaobaoqiu:~/octopress$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 350M 0 part
└─sda2 8:2 0 111.5G 0 part
sdb 8:16 0 465.8G 0 disk
├─sdb1 8:17 0 299.8G 0 part
├─sdb2 8:18 0 15.1G 0 part [SWAP]
└─sdb3 8:19 0 150.9G 0 part /