lscpu 可以列出本机的 CPU 的相关信息,该命令没有任何选项及参数。
- [alvin@VM_0_16_centos ~]$ lscpu
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
- CPU(s): 1
- On-line CPU(s) list: 0
- Thread(s) per core: 1
- Core(s) per socket: 1
- Socket(s): 1
- NUMA node(s): 1
- Vendor ID: GenuineIntel
- CPU family: 6
- Model: 79
- Model name: Intel(R) Xeon(R) CPU E5-26xx v4
- Stepping: 1
- CPU MHz: 2399.988
- BogoMIPS: 4799.97
- Hypervisor vendor: KVM
- Virtualization type: full
- L1d cache: 32K
- L1i cache: 32K
- L2 cache: 4096K
- NUMA node0 CPU(s): 0
lsusb
lsusb 列出与本机相连的所有 USB 设备的信息。默认情况下,只列出概要信息,使用 -v 选项可以列出每一个 USB 口的详细信息。
- [alvin@VM_0_16_centos ~]$ lsusb
- Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
- Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsscsi
lsscsi 可以列出诸如硬盘/光驱等 SCSI/SATA 设备信息。
- [alvin@VM_0_16_centos ~]$ lsscsi
- [0:0:1:0] cd/dvd QEMU QEMU DVD-ROM 1.2. /dev/sr0
lspci
lspci 列出所有 PCI 总线,以及与 PCI 总线相连的所有设备的详细信息,比如 VGA 适配器、显卡、网络适配器、usb 端口、SATA 控制器等。
- [alvin@VM_0_16_centos ~]$ lspci
- 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
- 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
- 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
- 00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
- 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
- 00:02.0 VGA compatible controller: Cirrus Logic GD 5446
- 00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
- 00:04.0 SCSI storage controller: Red Hat, Inc Virtio block device
- 00:05.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon
df
(编辑:ASP站长网)
|