ハードウェア情報一覧
$ sudo lshw -sanitize
-sanitize
はserial等を隠してくれる
$ sudo dmidecode
$ sudo apt install installation-report
$ sudo report-hw
Full output + extra 1〜3
$ sudo inxi -Fxxx
Full output + extra 1〜3 + security filter(MAC/IP/Serial)
$ sudo inxi -Fxxxz
$ cat /proc/cpuinfo
$ cat /proc/meminfo
$ free
$ swapon -s
$ sudo hdparm -i /dev/sda
$ sudo smartctl -i /dev/sda
$ sudo fdisk -l /dev/sda
$ sudo parted /dev/sda print
$ mount
$ cat /proc/mounts
$ df -aTh
-h
: human readable
-a
: all
-T
: file system type
$ lspci
$ lspci -v
$ 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 005: ID 5986:02d5 Acer, Inc Bus 001 Device 004: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad] Bus 001 Device 009: ID 04d9:3113 Holtek Semiconductor, Inc. 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 009: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 9, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 2: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 2: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 4, If 2, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 4: Dev 4, If 3, Class=Application Specific Interface, Driver=, 12M |__ Port 4: Dev 4, If 1, Class=Vendor Specific Class, Driver=btusb, 12M |__ Port 6: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 6: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
$ sudo lsusb -vvv -d 067b:2303|head can't get debug descriptor: Resource temporarily unavailable Bus 003 Device 009: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64
コメント