a18f9f96c4d6103225ca20c74b1657bdfa7c1bec
Linux/HardwareInfo.md
... | ... | @@ -0,0 +1,69 @@ |
1 | +[[_TOC_]] |
|
2 | + |
|
3 | +# 概要 |
|
4 | +- ハードウェア情報を表示する。(lshw) |
|
5 | + |
|
6 | +# インストール |
|
7 | +- EPEL リポジトリ |
|
8 | +``` |
|
9 | +# yum install -y lshw |
|
10 | +``` |
|
11 | + |
|
12 | +# コマンド |
|
13 | +- ヘルプ |
|
14 | +``` |
|
15 | +# lshw --help |
|
16 | +Hardware Lister (lshw) - B.02.18 |
|
17 | +usage: lshw [-format] [-options ...] |
|
18 | + lshw -version |
|
19 | + |
|
20 | + -version print program version (B.02.18) |
|
21 | + |
|
22 | +format can be |
|
23 | + -html output hardware tree as HTML |
|
24 | + -xml output hardware tree as XML |
|
25 | + -json output hardware tree as a JSON object |
|
26 | + -short output hardware paths |
|
27 | + -businfo output bus information |
|
28 | + |
|
29 | +options can be |
|
30 | + -dump OUTFILE save hardware tree to a file |
|
31 | + -class CLASS only show a certain class of hardware |
|
32 | + -C CLASS same as '-class CLASS' |
|
33 | + -c CLASS same as '-class CLASS' |
|
34 | + -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) |
|
35 | + -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) |
|
36 | + -quiet don't display status |
|
37 | + -sanitize sanitize output (remove sensitive information like serial numbers, etc.) |
|
38 | + -numeric output numeric IDs (for PCI, USB, etc.) |
|
39 | + -notime exclude volatile attributes (timestamps) from output |
|
40 | +``` |
|
41 | +- 短縮形で表示 |
|
42 | +``` |
|
43 | +# lshw -short |
|
44 | +``` |
|
45 | +- メモリ情報の表示 |
|
46 | +``` |
|
47 | +# lshw -class memory |
|
48 | +``` |
|
49 | +- ディスク情報の表示 |
|
50 | +``` |
|
51 | +# lshw -class disk |
|
52 | +``` |
|
53 | +- クラスリスト |
|
54 | + - bridge |
|
55 | + - bus |
|
56 | + - disk |
|
57 | + - display |
|
58 | + - generic |
|
59 | + - input |
|
60 | + - memory |
|
61 | + - multimedia |
|
62 | + - network |
|
63 | + - processor |
|
64 | + - storage |
|
65 | + - system |
|
66 | + - volume |
|
67 | + |
|
68 | +# Link |
|
69 | +- [HardwareLiSter – ezIX](https://ezix.org/project/wiki/HardwareLiSter) |
|
... | ... | \ No newline at end of file |
Linux/_Sidebar.md
... | ... | @@ -3,6 +3,7 @@ |
3 | 3 | - [[Apache]]
|
4 | 4 | - [[Customize]]
|
5 | 5 | - [[Gollum]]
|
6 | +- [[HardwareInfo]]
|
|
6 | 7 | - [[iptables]]
|
7 | 8 | - [[Mail]]
|
8 | 9 | - [[NIC_Bonding]]
|