#author("2021-05-23T14:50:39+00:00","","")
#author("2021-05-23T14:51:21+00:00","","")
#topicpath

////////////////////////////////////////////////////////////////////////////////
* 目次 [#o395f060]
#contents();

////////////////////////////////////////////////////////////////////////////////
* PC のプロダクト名 [#t5d91546]
 $ dmidecode -s system-product-name
 DAIV-NG4500

////////////////////////////////////////////////////////////////////////////////
* CPU [#bd484470]
//==============================================================================
** CPU 名 [#t49e3909]
 $ cat /proc/cpuinfo | grep "model name"
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 model name	: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz

//==============================================================================
** 物理 core 数 論理 core 数 [#sde473ec]
- 物理 core 数
 $ grep "cpu cores" /proc/cpuinfo | uniq
- 論理 core 数
 $ grep ^processor /proc/cpuinfo | wc -l
-- /proc/cpuinfo では、論理 core 数(=スレッド数)分だけ processor のエントリが表示される

//==============================================================================
** CPU の機能フラグ [#x9133b86]
 $ cat /proc/cpuinfo | grep flags

//==============================================================================
** Chipset [#v59ca83f]
 # lshw | grep -A 10 "Host bridge"
           description: Host bridge
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 100
           bus info: pci@0000:00:00.0
           version: 05
           width: 32 bits
           clock: 33MHz
         *-pci:0
              description: PCI bridge
              product: Skylake PCIe Controller (x16)

////////////////////////////////////////////////////////////////////////////////
* メモリ容量 [#v1fa01ad]
 $ cat /proc/meminfo | grep MemTotal

////////////////////////////////////////////////////////////////////////////////
* グラフィックボード [#x69c9291]
 # lshw -short -class display
 H/W path             Device     Class          Description
 ==========================================================
 /0/100/1/0                      display        NVIDIA Corporation
 /0/100/2                        display        Intel Corporation

////////////////////////////////////////////////////////////////////////////////
* 一覧の簡易表示 [#fa5ac3dc]
 $ sudo lshw -short
 H/W path             Device     Class          Description
 ==========================================================
                                 system         DAIV-NG4500 (DAIV-NG4500M1-M2SH5-C)
 /0                              bus            P641HJ
 /0/0                            memory         64KiB BIOS
 /0/13                           memory         32GiB System Memory
 /0/13/0                         memory         16GiB SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
 /0/13/1                         memory         16GiB SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
 /0/17                           memory         256KiB L1 cache
 /0/18                           memory         1MiB L2 cache
 /0/19                           memory         6MiB L3 cache
 /0/1a                           processor      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
 /0/100                          bridge         Intel Corporation
 /0/100/1                        bridge         Skylake PCIe Controller (x16)
 /0/100/1/0                      display        NVIDIA Corporation
 /0/100/2                        display        Intel Corporation
 /0/100/14                       bus            Sunrise Point-H USB 3.0 xHCI Controller
 /0/100/14/0          usb1       bus            xHCI Host Controller
 /0/100/14/0/1                   input          USB Receiver
 /0/100/14/0/8                   communication  Bluetooth wireless interface
 /0/100/14/0/9                   multimedia     Chicony USB 2.0 Camera
 /0/100/14/1          usb2       bus            xHCI Host Controller
 /0/100/14.2                     generic        Sunrise Point-H Thermal subsystem
 /0/100/16                       communication  Sunrise Point-H CSME HECI #1
 /0/100/17                       storage        Sunrise Point-H SATA Controller [AHCI mode]
 /0/100/1c                       bridge         Sunrise Point-H PCI Express Root Port #1
 /0/100/1c.2                     bridge         Sunrise Point-H PCI Express Root Port #3
 /0/100/1c.2/0                   generic        RTL8411B PCI Express Card Reader
 /0/100/1c.2/0.1      enp3s0f1   network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
 /0/100/1c.3                     bridge         Sunrise Point-H PCI Express Root Port #4
 /0/100/1c.3/0        wlp4s0     network        Intel Corporation
 /0/100/1c.6                     bridge         Sunrise Point-H PCI Express Root Port #7
 /0/100/1c.6/0                   bus            ASM1142 USB 3.1 Host Controller
 /0/100/1c.6/0/0      usb3       bus            xHCI Host Controller
 /0/100/1c.6/0/0/2               bus            USB2.0 Hub
 /0/100/1c.6/0/0/2/5             generic        USB Billboard Device
 /0/100/1c.6/0/1      usb4       bus            xHCI Host Controller
 /0/100/1c.6/0/1/2               bus            USB3.0 Hub
 /0/100/1d                       bridge         Sunrise Point-H PCI Express Root Port #9
 /0/100/1d/0                     storage        Intel Corporation
 /0/100/1f                       bridge         Sunrise Point-H LPC Controller
 /0/100/1f.2                     memory         Memory controller
 /0/100/1f.3                     multimedia     Intel Corporation
 /0/100/1f.4                     bus            Sunrise Point-H SMBus
 /0/1                 scsi2      storage        
 /0/1/0.0.0           /dev/sda   disk           1TB ST1000LM048-2E71
 /0/1/0.0.0/1         /dev/sda1  volume         284MiB Windows FAT volume
 /0/1/0.0.0/2                    volume         186GiB EFI partition
 /0/1/0.0.0/3         /dev/sda3  volume         651GiB EFI partition
 /0/1/0.0.0/4         /dev/sda4  volume         93GiB Linux swap volume


////////////////////////////////////////////////////////////////////////////////
* コマンド一覧 [#b8969ab0]
* Hardware情報取得コマンド一覧 [#b8969ab0]
|~コマンド               |~内容 |
|hwinfo                  |ハードウェア情報をフル表示 |
|lshw                    |ハードウェア情報をフル表示 |
|inxi -Fxz               |ハードウェア情報を表示 |
|hwinfo --short          |ハードウェア情報を表示 |
|lshw -short             |ハードウェア情報を表示 |
|lscpu                   |CPU情報を表示 |
|lshw -C cpu             |CPU情報を表示 |
|dmidecode -t memory     |メモリ情報を表示 |
|lshw -short -C memory   |メモリ情報を表示 |
|lspci | grep -i vga   |VGA情報を表示 |
|lspci -v -s デバイス番号  |指定したデバイスの情報表示 |
|free -m                 |現在のメモリ使用状況を表示 |
|top                     |現在のメモリ使用状況を表示 |
|lshw -short -C disk     |ディスク情報を表示 |
|hdparm -i デバイスファイル |ディスク情報を表示 |
|lsblk |ディスク情報を表示  |
|fdisk -l                |ディスク情報を表示 |
|blkid                   |ディスク情報を表示 |
|df                      |マウント情報を表示 |
|lsusb                   |USB情報を表示 |
|lspci                   |PCI情報を表示 |
|lshw -C network         |ネットワーク情報を表示 |
|ifconfig -a             |ネットワーク情報を表示 |
|ip link show            |ネットワーク情報を表示 |
|netstat -i              |ネットワーク情報を表示 |
|ip route                |ルーティング情報を表示 |
|netstat -r              |ルーティング情報を表示 |
|dmidecode -t bios       |BIOS/UEFI情報を表示 |

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS