System/Hardware情報
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#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 数(=スレッド数)分だけ...
//=======================================================...
** 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 Co...
/0/100/2 display Intel Cor...
/////////////////////////////////////////////////////////...
* 一覧の簡易表示 [#fa5ac3dc]
$ sudo lshw -short
H/W path Device Class Description
==========================================================
system DAIV-NG45...
/0 bus P641HJ
/0/0 memory 64KiB BIOS
/0/13 memory 32GiB Sys...
/0/13/0 memory 16GiB SOD...
/0/13/1 memory 16GiB SOD...
/0/17 memory 256KiB L1...
/0/18 memory 1MiB L2 c...
/0/19 memory 6MiB L3 c...
/0/1a processor Intel(R) ...
/0/100 bridge Intel Cor...
/0/100/1 bridge Skylake P...
/0/100/1/0 display NVIDIA Co...
/0/100/2 display Intel Cor...
/0/100/14 bus Sunrise P...
/0/100/14/0 usb1 bus xHCI Host...
/0/100/14/0/1 input USB Recei...
/0/100/14/0/8 communication Bluetooth...
/0/100/14/0/9 multimedia Chicony U...
/0/100/14/1 usb2 bus xHCI Host...
/0/100/14.2 generic Sunrise P...
/0/100/16 communication Sunrise P...
/0/100/17 storage Sunrise P...
/0/100/1c bridge Sunrise P...
/0/100/1c.2 bridge Sunrise P...
/0/100/1c.2/0 generic RTL8411B ...
/0/100/1c.2/0.1 enp3s0f1 network RTL8111/8...
/0/100/1c.3 bridge Sunrise P...
/0/100/1c.3/0 wlp4s0 network Intel Cor...
/0/100/1c.6 bridge Sunrise P...
/0/100/1c.6/0 bus ASM1142 U...
/0/100/1c.6/0/0 usb3 bus xHCI Host...
/0/100/1c.6/0/0/2 bus USB2.0 Hub
/0/100/1c.6/0/0/2/5 generic USB Billb...
/0/100/1c.6/0/1 usb4 bus xHCI Host...
/0/100/1c.6/0/1/2 bus USB3.0 Hub
/0/100/1d bridge Sunrise P...
/0/100/1d/0 storage Intel Cor...
/0/100/1f bridge Sunrise P...
/0/100/1f.2 memory Memory co...
/0/100/1f.3 multimedia Intel Cor...
/0/100/1f.4 bus Sunrise P...
/0/1 scsi2 storage
/0/1/0.0.0 /dev/sda disk 1TB ST100...
/0/1/0.0.0/1 /dev/sda1 volume 284MiB Wi...
/0/1/0.0.0/2 volume 186GiB EF...
/0/1/0.0.0/3 /dev/sda3 volume 651GiB EF...
/0/1/0.0.0/4 /dev/sda4 volume 93GiB Lin...
/////////////////////////////////////////////////////////...
* 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情報を表示 |
終了行:
#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 数(=スレッド数)分だけ...
//=======================================================...
** 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 Co...
/0/100/2 display Intel Cor...
/////////////////////////////////////////////////////////...
* 一覧の簡易表示 [#fa5ac3dc]
$ sudo lshw -short
H/W path Device Class Description
==========================================================
system DAIV-NG45...
/0 bus P641HJ
/0/0 memory 64KiB BIOS
/0/13 memory 32GiB Sys...
/0/13/0 memory 16GiB SOD...
/0/13/1 memory 16GiB SOD...
/0/17 memory 256KiB L1...
/0/18 memory 1MiB L2 c...
/0/19 memory 6MiB L3 c...
/0/1a processor Intel(R) ...
/0/100 bridge Intel Cor...
/0/100/1 bridge Skylake P...
/0/100/1/0 display NVIDIA Co...
/0/100/2 display Intel Cor...
/0/100/14 bus Sunrise P...
/0/100/14/0 usb1 bus xHCI Host...
/0/100/14/0/1 input USB Recei...
/0/100/14/0/8 communication Bluetooth...
/0/100/14/0/9 multimedia Chicony U...
/0/100/14/1 usb2 bus xHCI Host...
/0/100/14.2 generic Sunrise P...
/0/100/16 communication Sunrise P...
/0/100/17 storage Sunrise P...
/0/100/1c bridge Sunrise P...
/0/100/1c.2 bridge Sunrise P...
/0/100/1c.2/0 generic RTL8411B ...
/0/100/1c.2/0.1 enp3s0f1 network RTL8111/8...
/0/100/1c.3 bridge Sunrise P...
/0/100/1c.3/0 wlp4s0 network Intel Cor...
/0/100/1c.6 bridge Sunrise P...
/0/100/1c.6/0 bus ASM1142 U...
/0/100/1c.6/0/0 usb3 bus xHCI Host...
/0/100/1c.6/0/0/2 bus USB2.0 Hub
/0/100/1c.6/0/0/2/5 generic USB Billb...
/0/100/1c.6/0/1 usb4 bus xHCI Host...
/0/100/1c.6/0/1/2 bus USB3.0 Hub
/0/100/1d bridge Sunrise P...
/0/100/1d/0 storage Intel Cor...
/0/100/1f bridge Sunrise P...
/0/100/1f.2 memory Memory co...
/0/100/1f.3 multimedia Intel Cor...
/0/100/1f.4 bus Sunrise P...
/0/1 scsi2 storage
/0/1/0.0.0 /dev/sda disk 1TB ST100...
/0/1/0.0.0/1 /dev/sda1 volume 284MiB Wi...
/0/1/0.0.0/2 volume 186GiB EF...
/0/1/0.0.0/3 /dev/sda3 volume 651GiB EF...
/0/1/0.0.0/4 /dev/sda4 volume 93GiB Lin...
/////////////////////////////////////////////////////////...
* 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情報を表示 |
ページ名: