•        OS : openKylin-0.7.5-x86_64
  •        blog : 师万物

配置目录 /proc/ 查看硬件信息

sww@sww:~$ cd /proc/
sww@sww:/proc$ ls
1     125   1414  1659  217  248  34    5308  81         cmdline        mpt
10    126   1416  1681  218  249  370   5409  815        config.gz      mtrr
100   1263  1422  1683  219  25   38    555   816        consoles       net
101   127   1424  1684  22   250  381   556   82         cpuinfo        osinfo
102   1277  1426  1705  220  251  391   558   83         crypto         pagetypeinfo
103   1279  1431  1727  221  252  4     559   831        devices        partitions
104   1281  1432  1731  222  253  422   564   84         diskstats      pressure
1041  1282  1435  1764  223  254  423   567   85         dma            schedstat
105   1288  1440  18    224  255  424   568   86         driver         scsi
106   129   1468  1854  225  256  425   571   87         dynamic_debug  self
1069  1296  1474  1855  226  257  426   573   88         execdomains    slabinfo
107   13    1477  1870  227  258  427   575   89         fb             softirqs
108   130   148   1873  228  259  428   576   9          filesystems    stat
109   1308  1485  19    229  26   429   577   912        fs             swaps
11    131   1489  1900  230  260  431   578   92         interrupts     sys
110   132   149   1933  231  261  433   579   938        iomem          sysrq-trigger
111   134   15    2     232  262  449   581   94         ioports        sysvipc
112   135   1503  20    233  263  487   5811  940        irq            thread-self
113   1353  1504  2006  234  264  488   6063  95         kallsyms       timer_list
114   1355  1505  203   235  265  490   652   96         kcore          tty
115   136   1507  204   236  27   492   684   97         keys           uptime
116   1361  1509  205   237  288  4952  685   973        key-users      version
1164  1366  1512  206   238  289  4984  7     976        kmsg           vmallocinfo
117   137   152   207   239  29   4985  702   977        kpagecgroup    vmstat
118   1376  153   208   24   292  5     708   979        kpagecount     zoneinfo
119   1379  1534  21    240  293  510   723   98         kpageflags
12    1380  154   210   241  3    511   744   99         loadavg
120   1383  1562  211   242  30   513   753   991        locks
121   1389  1578  212   243  31   5275  754   acpi       mdstat
122   14    159   213   244  32   5282  755   asound     meminfo
123   1406  16    214   245  33   5283  757   buddyinfo  misc
1237  1408  1624  215   246  334  5287  773   bus        modules
124   1411  1655  216   247  335  5288  774   cgroups    mounts
sww@sww:/proc$ cat cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 158
model name	: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
stepping	: 10
microcode	: 0xb4
cpu MHz		: 2808.005
cache size	: 9216 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat md_clear flush_l1d arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
bogomips	: 5616.01
clflush size	: 64
cache_alignment	: 64
address sizes	: 45 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 158
model name	: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
stepping	: 10
microcode	: 0xb4
cpu MHz		: 2808.005
cache size	: 9216 KB
physical id	: 2
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves arat md_clear flush_l1d arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
bogomips	: 5616.01
clflush size	: 64
cache_alignment	: 64
address sizes	: 45 bits physical, 48 bits virtual
power management:

学习资源


感恩曾经帮助过 师万物 的同学们。