[PC]拿到huawei matebook x pro(manjaro系统),如何熟悉系统

38 阅读39分钟

[toc]

unixbench跑分

执行

[nisy@nisy ~]$ wget http://www.vpsmark.com/sh/unixbench.sh
[nisy@nisy ~]$ sh ./unixbench.sh 

结果:

.....

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com

------------------------------------------------------------------------------
   Use directories for:
      * File I/O tests (named fs***) = /home/nisy/byte-unixbench-master/UnixBench/tmp
      * Results                      = /home/nisy/byte-unixbench-master/UnixBench/results
------------------------------------------------------------------------------

Wide character in print at ./Run line 1643.
Wide character in printf at ./Run line 1674.

1 x Dhrystone 2 using register variables  1 2 3
 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1574.

8 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

8 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

8 x Execl Throughput  1 2 3

8 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

8 x File Copy 256 bufsize 500 maxblocks  1 2 3

8 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

8 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

8 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

8 x Process Creation  1 2 3

8 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

8 x Shell Scripts (1 concurrent)  1 2 3

8 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1574.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: nisy: GNU/Linux
   OS: GNU/Linux -- 5.10.189-1-MANJARO -- #1 SMP PREEMPT Wed Aug 9 06:30:25 UTC 2023
   Machine: x86_64 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 4: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 5: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 6: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 7: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (3601.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   22:54:00 up 1 min,  1 user,  load average: 1.47, 0.74, 0.28; runlevel 

------------------------------------------------------------------------
Benchmark Run:  2 18 2024 22:54:00 - 23:22:09
8 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       33767821.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     5723.0 MWIPS (9.3 s, 7 samples)
Execl Throughput                               2495.5 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        372003.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           95535.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1120172.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                              469135.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  96834.1 lps   (10.0 s, 7 samples)
Process Creation                               2268.8 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   1398.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1193.8 lpm   (60.0 s, 2 samples)
System Call Overhead                         257949.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   33767821.1   2893.6
Double-Precision Whetstone                       55.0       5723.0   1040.5
Execl Throughput                                 43.0       2495.5    580.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     372003.4    939.4
File Copy 256 bufsize 500 maxblocks            1655.0      95535.8    577.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1120172.4   1931.3
Pipe Throughput                               12440.0     469135.8    377.1
Pipe-based Context Switching                   4000.0      96834.1    242.1
Process Creation                                126.0       2268.8    180.1
Shell Scripts (1 concurrent)                     42.4       1398.2    329.8
Shell Scripts (8 concurrent)                      6.0       1193.8   1989.7
System Call Overhead                          15000.0     257949.8    172.0
                                                                   ========
System Benchmarks Index Score                                         622.6

------------------------------------------------------------------------
Benchmark Run:  2 18 2024 23:22:09 - 23:50:28
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables      138845298.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    37442.0 MWIPS (10.0 s, 7 samples)
Execl Throughput                              10406.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1432981.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          383582.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4561423.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2102210.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 499598.8 lps   (10.0 s, 7 samples)
Process Creation                              27044.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10288.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1512.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        1061447.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  138845298.1  11897.6
Double-Precision Whetstone                       55.0      37442.0   6807.6
Execl Throughput                                 43.0      10406.1   2420.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    1432981.5   3618.6
File Copy 256 bufsize 500 maxblocks            1655.0     383582.5   2317.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    4561423.5   7864.5
Pipe Throughput                               12440.0    2102210.9   1689.9
Pipe-based Context Switching                   4000.0     499598.8   1249.0
Process Creation                                126.0      27044.4   2146.4
Shell Scripts (1 concurrent)                     42.4      10288.6   2426.6
Shell Scripts (8 concurrent)                      6.0       1512.3   2520.6
System Call Overhead                          15000.0    1061447.3    707.6
                                                                   ========
System Benchmarks Index Score                                        2820.5




======= Copy and paste your results to the VPSMARK ======= 

http://www.vpsmark.com/ .sh update - 2017-08-31


[nisy@nisy ~]$ 
[nisy@nisy ~]$ ------------------------------------------------------------------------
Benchmark Run:  2 18 2024 23:22:09 - 23:50:28
8 CPUs in system; running 8 parallel copies of tests

Dhrystone 2 using register variables      138845298.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    37442.0 MWIPS (10.0 s, 7 samples)
Execl Throughput                              10406.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1432981.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          383582.5 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       4561423.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2102210.9 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 499598.8 lps   (10.0 s, 7 samples)
Process Creation                              27044.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  10288.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1512.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        1061447.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  138845298.1  11897.6
Double-Precision Whetstone                       55.0      37442.0   6807.6
Execl Throughput                                 43.0      10406.1   2420.0
File Copy 1024 bufsize 2000 maxblocks          3960.0    1432981.5   3618.6
File Copy 256 bufsize 500 maxblocks            1655.0     383582.5   2317.7
File Copy 4096 bufsize 8000 maxblocks          5800.0    4561423.5   7864.5
Pipe Throughput                               12440.0    2102210.9   1689.9
Pipe-based Context Switching                   4000.0     499598.8   1249.0
Process Creation                                126.0      27044.4   2146.4
Shell Scripts (1 concurrent)                     42.4      10288.6   2426.6
Shell Scripts (8 concurrent)                      6.0       1512.3   2520.6
System Call Overhead                          15000.0    1061447.3    707.6
                                                                   ========
System Benchmarks Index Score                                        2820.5




======= Copy and paste your results to the VPSMARK ======= 

http://www.vpsmark.com/ .sh update - 2017-08-31


[nisy@nisy ~]$ 

7za跑分

[nisy@nisy 7z2107-linux-x64]$ ./7zz b

7-Zip (z) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
 64-bit locale=zh_CN.utf8 Threads:8, ASM

Compiler: 9.3.0 GCC 9.3.0
Linux : 5.10.98-1-MANJARO : #1 SMP PREEMPT Sun Feb 6 12:22:54 UTC 2022 : x86_64
PageSize:4KB THP:madvise hwcap:2 hwcap2:2
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (806EA) 

1T CPU Freq (MHz):  2847  3295  3389  3390  3390  3388  3387
4T CPU Freq (MHz): 400% 3381   399% 3375  

RAM size:    7704 MB,  # CPU hardware threads:   8
RAM usage:   1779 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      21319   618   3354  20740  |     355728   796   3810  30334
23:      21734   684   3238  22145  |     288716   793   3149  24975
24:      15976   665   2584  17178  |     216024   795   2383  18954
25:      15826   672   2687  18070  |     215076   795   2406  19137
----------------------------------  | ------------------------------
Avr:     18714   660   2966  19533  |     268886   795   2937  23350
Tot:             727   2951  21441

v4l2-ctl 命令:

[nisy@nisy v4l2]$ v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'MJPG' (Motion-JPEG, compressed)
		Size: Discrete 1280x720
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 960x540
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 848x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
	[1]: 'YUYV' (YUYV 4:2:2)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x360
			Interval: Discrete 0.033s (30.000 fps)
[nisy@nisy v4l2]$ v4l2-ctl -d /dev/video0 -D
Driver Info:
	Driver name      : uvcvideo
	Card type        : HD Camera: HD Camera
	Bus info         : usb-0000:00:14.0-7
	Driver version   : 5.10.131
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : HD Camera: HD Camera
	Serial           : 
	Bus info         : usb-0000:00:14.0-7
	Media version    : 5.10.131
	Hardware revision: 0x00000012 (18)
	Driver version   : 5.10.131
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : HD Camera: HD Camera
	Function         : V4L2 I/O
	Flags            : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000013: from remote pad 0x100000a of entity 'Extension 4' (Video Pixel Formatter): Data, Enabled, Immutable
[nisy@nisy v4l2]$ 

[nisy thermal]# cat /proc/iomem

00000000-00000fff : Reserved
00001000-00057fff : System RAM
00058000-00058fff : Reserved
00059000-0009dfff : System RAM
0009e000-000fffff : Reserved
  000a0000-000bffff : PCI Bus 0000:00
  000c0000-000c3fff : PCI Bus 0000:00
  000c4000-000c7fff : PCI Bus 0000:00
  000c8000-000cbfff : PCI Bus 0000:00
  000cc000-000cffff : PCI Bus 0000:00
  000d0000-000d3fff : PCI Bus 0000:00
  000d4000-000d7fff : PCI Bus 0000:00
  000d8000-000dbfff : PCI Bus 0000:00
  000dc000-000dffff : PCI Bus 0000:00
  000e0000-000e3fff : PCI Bus 0000:00
  000e4000-000e7fff : PCI Bus 0000:00
  000e8000-000ebfff : PCI Bus 0000:00
  000ec000-000effff : PCI Bus 0000:00
  000f0000-000fffff : PCI Bus 0000:00
    000f0000-000fffff : System ROM
00100000-567fd017 : System RAM
567fd018-5680d057 : System RAM
5680d058-56b76fff : System RAM
56b77000-56b77fff : ACPI Non-volatile Storage
56b78000-56b78fff : Reserved
56b79000-58388fff : System RAM
58389000-58c88fff : Reserved
58c89000-5f139fff : System RAM
5f13a000-5f1aefff : Reserved
5f1af000-6ee9efff : System RAM
6ee9f000-6f88efff : Reserved
6f88f000-6ff7efff : ACPI Non-volatile Storage
6ff7f000-6fffefff : ACPI Tables
6ffff000-6fffffff : System RAM
70000000-7cffffff : Reserved
  70200000-75f7ffff : INT0E0C:00
  79000000-7cffffff : Graphics Stolen Memory
7d000000-dfffffff : PCI Bus 0000:00
  7d000000-7d01ffff : pnp 00:07
  80000000-960fffff : PCI Bus 0000:02
  96100000-961fffff : PCI Bus 0000:3b
    96100000-96101fff : 0000:3b:00.0
      96100000-96101fff : iwlwifi
  96200000-962fffff : PCI Bus 0000:01
    96200000-96203fff : 0000:01:00.0
      96200000-96203fff : nvme
  96300000-9630ffff : 0000:00:14.0
    96300000-9630ffff : xhci-hcd
      96308070-9630846f : intel_xhci_usb_sw
  96310000-96313fff : 0000:00:1f.2
e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
  e0000000-efffffff : Reserved
    e0000000-efffffff : pnp 00:07
fd000000-fe7fffff : Reserved
  fd000000-fe7fffff : PCI Bus 0000:00
    fd000000-fdabffff : pnp 00:00
    fdac0000-fdacffff : INT344B:00
      fdac0000-fdacffff : INT344B:00 INT344B:00
    fdad0000-fdadffff : pnp 00:00
    fdae0000-fdaeffff : INT344B:00
      fdae0000-fdaeffff : INT344B:00 INT344B:00
    fdaf0000-fdafffff : INT344B:00
      fdaf0000-fdafffff : INT344B:00 INT344B:00
    fdb00000-fdffffff : pnp 00:00
      fdc6000c-fdc6000f : iTCO_wdt
        fdc6000c-fdc6000f : iTCO_wdt iTCO_wdt
    fe000000-fe01ffff : pnp 00:00
    fe036000-fe03bfff : pnp 00:00
    fe03d000-fe3fffff : pnp 00:00
    fe410000-fe7fffff : pnp 00:00
fec00000-fec00fff : Reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed00fff : Reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed10000-fed19fff : Reserved
  fed10000-fed17fff : pnp 00:07
  fed18000-fed18fff : pnp 00:07
  fed19000-fed19fff : pnp 00:07
fed20000-fed3ffff : pnp 00:07
fed84000-fed84fff : Reserved
fed90000-fed90fff : dmar0
fed91000-fed91fff : dmar1
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : Reserved
ff000000-ffffffff : INT0800:00
  ffa00000-ffffffff : Reserved
100000000-281ffffff : System RAM
  1e1600000-1e2402076 : Kernel code
  1e2600000-1e2eadfff : Kernel rodata
  1e3000000-1e320363f : Kernel data
  1e37db000-1e3bfffff : Kernel bss
282000000-283ffffff : RAM buffer
2000000000-2fffffffff : PCI Bus 0000:00
  2fc0000000-2fcfffffff : 0000:00:02.0
  2fd0000000-2ff1ffffff : PCI Bus 0000:02
  2ff2000000-2ff2ffffff : 0000:00:02.0
  2ff3000000-2ff300ffff : 0000:00:1f.3
    2ff3000000-2ff300ffff : ICH HD audio
  2ff3010000-2ff3017fff : 0000:00:04.0
    2ff3010000-2ff3017fff : proc_thermal
  2ff3018000-2ff301bfff : 0000:00:1f.3
    2ff3018000-2ff301bfff : ICH HD audio
  2ff301c000-2ff301c0ff : 0000:00:1f.4
  2ff301d000-2ff301dfff : 0000:00:1e.3
    2ff301d000-2ff301d1ff : lpss_dev
      2ff301d000-2ff301d1ff : pxa2xx-spi.3 lpss_dev
    2ff301d200-2ff301d2ff : lpss_priv
    2ff301d800-2ff301dfff : idma64.3
      2ff301d800-2ff301dfff : idma64.3 idma64.3
  2ff301e000-2ff301efff : 0000:00:1e.0
    2ff301e000-2ff301e1ff : lpss_dev
      2ff301e000-2ff301e01f : serial
    2ff301e200-2ff301e2ff : lpss_priv
    2ff301e800-2ff301efff : idma64.2
      2ff301e800-2ff301efff : idma64.2 idma64.2
  2ff301f000-2ff301ffff : 0000:00:16.0
    2ff301f000-2ff301ffff : mei_me
  2ff3020000-2ff3020fff : 0000:00:15.1
    2ff3020000-2ff30201ff : lpss_dev
      2ff3020000-2ff30201ff : i2c_designware.1 lpss_dev
    2ff3020200-2ff30202ff : lpss_priv
    2ff3020800-2ff3020fff : idma64.1
      2ff3020800-2ff3020fff : idma64.1 idma64.1
  2ff3021000-2ff3021fff : 0000:00:15.0
    2ff3021000-2ff30211ff : lpss_dev
      2ff3021000-2ff30211ff : i2c_designware.0 lpss_dev
    2ff3021200-2ff30212ff : lpss_priv
    2ff3021800-2ff3021fff : idma64.0
      2ff3021800-2ff3021fff : idma64.0 idma64.0
  2ff3022000-2ff3022fff : 0000:00:14.2
    2ff3022000-2ff3022fff : Intel PCH thermal driver

[nisy@nisy video4linux]$ ls -al /sys/class/video4linux

总计 0
drwxr-xr-x  2 root root 0  6月10日 17:33 .
drwxr-xr-x 68 root root 0  6月10日 17:33 ..
lrwxrwxrwx  1 root root 0  6月10日 17:33 video0 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/video4linux/video0
lrwxrwxrwx  1 root root 0  6月10日 17:33 video1 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/video4linux/video1
[nisy@nisy video4linux]$ 

[nisy linux下cat文件夹下(包含子文件夹)所有文件的内容]# ./cat_files.sh /sys/class/video4linux/video0/

cat file: /sys/class/video4linux/video0//dev
81:0
===================
cat file: /sys/class/video4linux/video0//dev_debug
0
===================

cat file: /sys/class/video4linux/video0//index
0
===================
cat file: /sys/class/video4linux/video0//name
HD Camera: HD Camera
===================
cat file: /sys/class/video4linux/video0//power/autosuspend_delay_ms
cat: /sys/class/video4linux/video0//power/autosuspend_delay_ms: 输入/输出错误
===================
cat file: /sys/class/video4linux/video0//power/control
auto
===================
cat file: /sys/class/video4linux/video0//power/runtime_active_time
0
===================
cat file: /sys/class/video4linux/video0//power/runtime_status
unsupported
===================
cat file: /sys/class/video4linux/video0//power/runtime_suspended_time
0
===================

cat file: /sys/class/video4linux/video0//uevent
MAJOR=81
MINOR=0
DEVNAME=video0
===================

[nisy linux下cat文件夹下(包含子文件夹)所有文件的内容]# ./cat_files.sh /sys/class/video4linux/video1/

cat file: /sys/class/video4linux/video1//dev 81:1

cat file: /sys/class/video4linux/video1//dev_debug 0

cat file: /sys/class/video4linux/video1//index 1

cat file: /sys/class/video4linux/video1//name HD Camera: HD Camera

cat file: /sys/class/video4linux/video1//power/autosuspend_delay_ms cat: /sys/class/video4linux/video1//power/autosuspend_delay_ms: 输入/输出错误

cat file: /sys/class/video4linux/video1//power/control auto

cat file: /sys/class/video4linux/video1//power/runtime_active_time 0

cat file: /sys/class/video4linux/video1//power/runtime_status unsupported

cat file: /sys/class/video4linux/video1//power/runtime_suspended_time 0

cat file: /sys/class/video4linux/video1//uevent MAJOR=81 MINOR=1 DEVNAME=video1


## [nisy thermal]# lsmod

Module Size Used by ccm 20480 3 rfcomm 90112 16 snd_hda_codec_hdmi 73728 1 snd_hda_codec_realtek 155648 1 snd_hda_codec_generic 98304 1 snd_hda_codec_realtek cmac 16384 2 algif_hash 16384 1 algif_skcipher 16384 1 af_alg 32768 6 algif_hash,algif_skcipher bnep 28672 2 uvcvideo 114688 0 btusb 65536 0 videobuf2_vmalloc 20480 1 uvcvideo btrtl 24576 1 btusb videobuf2_memops 20480 1 videobuf2_vmalloc btbcm 16384 1 btusb videobuf2_v4l2 36864 1 uvcvideo btintel 32768 1 btusb videobuf2_common 65536 2 videobuf2_v4l2,uvcvideo bluetooth 741376 43 btrtl,btintel,btbcm,bnep,btusb,rfcomm videodev 294912 3 videobuf2_v4l2,uvcvideo,videobuf2_common ecdh_generic 16384 1 bluetooth mc 61440 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common ecc 36864 1 ecdh_generic usbhid 65536 0 snd_soc_skl 180224 0 snd_soc_hdac_hda 24576 1 snd_soc_skl snd_hda_ext_core 36864 2 snd_soc_hdac_hda,snd_soc_skl snd_soc_sst_ipc 20480 1 snd_soc_skl snd_soc_sst_dsp 36864 1 snd_soc_skl snd_soc_acpi_intel_match 45056 1 snd_soc_skl joydev 28672 0 mousedev 24576 0 snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl snd_hda_intel 57344 3 snd_intel_dspcfg 28672 2 snd_hda_intel,snd_soc_skl hid_multitouch 32768 0 soundwire_intel 45056 1 snd_intel_dspcfg spi_pxa2xx_platform 32768 0 soundwire_generic_allocation 16384 1 soundwire_intel soundwire_cadence 36864 1 soundwire_intel iTCO_wdt 16384 0 dw_dmac 16384 0 8250_dw 16384 0 mei_hdcp 24576 0 snd_hda_codec 167936 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda x86_pkg_temp_thermal 20480 0 intel_powerclamp 20480 0 intel_pmc_bxt 16384 1 iTCO_wdt coretemp 20480 0 iTCO_vendor_support 16384 1 iTCO_wdt iwlmvm 479232 0 intel_wmi_thunderbolt 20480 0 huawei_wmi 24576 0 kvm_intel 323584 0 snd_hda_core 106496 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl ledtrig_audio 16384 2 snd_hda_codec_generic,huawei_wmi sparse_keymap 16384 1 huawei_wmi wmi_bmof 16384 0 intel_rapl_msr 20480 0 snd_hwdep 16384 1 snd_hda_codec soundwire_bus 90112 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence kvm 925696 1 kvm_intel mac80211 1097728 1 iwlmvm irqbypass 16384 1 kvm crct10dif_pclmul 16384 1 crc32_pclmul 16384 0 ghash_clmulni_intel 16384 0 i915 2703360 33 libarc4 16384 1 mac80211 snd_soc_core 327680 3 soundwire_intel,snd_soc_hdac_hda,snd_soc_skl aesni_intel 372736 5 crypto_simd 16384 1 aesni_intel cryptd 24576 3 crypto_simd,ghash_clmulni_intel glue_helper 16384 1 aesni_intel snd_compress 32768 1 snd_soc_core iwlwifi 417792 1 iwlmvm rapl 16384 0 ac97_bus 16384 1 snd_soc_core intel_cstate 20480 0 snd_pcm_dmaengine 16384 1 snd_soc_core intel_uncore 172032 0 snd_pcm 147456 9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine i2c_algo_bit 16384 1 i915 vfat 20480 1 fat 86016 1 vfat cfg80211 978944 3 iwlmvm,iwlwifi,mac80211 pcspkr 16384 0 drm_kms_helper 270336 1 i915 snd_timer 45056 1 snd_pcm snd 114688 16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm i2c_i801 36864 0 soundcore 16384 1 snd i2c_smbus 20480 1 i2c_i801 mei_me 45056 1 intel_lpss_pci 24576 2 rfkill 28672 7 bluetooth,cfg80211 cec 69632 2 drm_kms_helper,i915 mei 139264 3 mei_hdcp,mei_me intel_lpss 16384 1 intel_lpss_pci intel_gtt 24576 1 i915 idma64 20480 0 syscopyarea 16384 1 drm_kms_helper intel_pch_thermal 16384 0 processor_thermal_device 20480 0 sysfillrect 16384 1 drm_kms_helper intel_xhci_usb_role_switch 16384 0 intel_rapl_common 28672 2 intel_rapl_msr,processor_thermal_device sysimgblt 16384 1 drm_kms_helper roles 16384 1 intel_xhci_usb_role_switch fb_sys_fops 16384 1 drm_kms_helper intel_soc_dts_iosf 20480 1 processor_thermal_device wmi 36864 3 intel_wmi_thunderbolt,huawei_wmi,wmi_bmof i2c_hid 32768 0 acpi_als 20480 0 kfifo_buf 16384 1 acpi_als int3403_thermal 20480 0 industrialio 90112 2 acpi_als,kfifo_buf int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device mac_hid 16384 0 video 57344 1 i915 int3400_thermal 20480 0 acpi_thermal_rel 16384 1 int3400_thermal dptf_power 16384 0 acpi_pad 24576 0 squashfs 73728 10 loop 40960 20 drm 569344 12 drm_kms_helper,i915 uinput 20480 0 fuse 163840 5 crypto_user 20480 0 agpgart 53248 2 intel_gtt,drm ip_tables 32768 0 x_tables 53248 1 ip_tables ext4 925696 2 crc32c_generic 16384 0 crc16 16384 2 bluetooth,ext4 mbcache 16384 1 ext4 jbd2 147456 1 ext4 crc32c_intel 24576 4 serio_raw 20480 0 xhci_pci 20480 0


## [nisy thermal]#  cat /proc/cpuinfo

processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2899.967 cache size : 6144 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2899.700 cache size : 6144 KB physical id : 0 siblings : 8 core id : 1 cpu cores : 4 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2899.982 cache size : 6144 KB physical id : 0 siblings : 8 core id : 2 cpu cores : 4 apicid : 4 initial apicid : 4 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2899.875 cache size : 6144 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 6 initial apicid : 6 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 4 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2900.000 cache size : 6144 KB physical id : 0 siblings : 8 core id : 0 cpu cores : 4 apicid : 1 initial apicid : 1 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2900.093 cache size : 6144 KB physical id : 0 siblings : 8 core id : 1 cpu cores : 4 apicid : 3 initial apicid : 3 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 6 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2900.001 cache size : 6144 KB physical id : 0 siblings : 8 core id : 2 cpu cores : 4 apicid : 5 initial apicid : 5 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:

processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 142 model name : Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz stepping : 10 microcode : 0xea cpu MHz : 2900.114 cache size : 6144 KB physical id : 0 siblings : 8 core id : 3 cpu cores : 4 apicid : 7 initial apicid : 7 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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 3601.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management:


## [nisy thermal]#  cat /proc/meminfo

MemTotal: 7890288 kB MemFree: 838708 kB MemAvailable: 2309200 kB Buffers: 306712 kB Cached: 1704820 kB SwapCached: 0 kB Active: 838648 kB Inactive: 4086176 kB Active(anon): 30704 kB Inactive(anon): 3980964 kB Active(file): 807944 kB Inactive(file): 105212 kB Unevictable: 904072 kB Mlocked: 48 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 232 kB Writeback: 0 kB AnonPages: 3817448 kB Mapped: 569248 kB Shmem: 1098376 kB KReclaimable: 867332 kB Slab: 1019328 kB SReclaimable: 867332 kB SUnreclaim: 151996 kB KernelStack: 12128 kB PageTables: 34192 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 3945144 kB Committed_AS: 11003016 kB VmallocTotal: 34359738367 kB VmallocUsed: 53900 kB VmallocChunk: 0 kB Percpu: 5024 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB FileHugePages: 0 kB FilePmdMapped: 0 kB CmaTotal: 0 kB CmaFree: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Hugetlb: 0 kB DirectMap4k: 263800 kB DirectMap2M: 7868416 kB DirectMap1G: 1048576 kB


## [nisy thermal]# cat /proc/mounts

proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 dev /dev devtmpfs rw,nosuid,relatime,size=3935276k,nr_inodes=983819,mode=755,inode64 0 0 run /run tmpfs rw,nosuid,nodev,relatime,mode=755,inode64 0 0 efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0 /dev/nvme0n1p10 / ext4 rw,noatime 0 0 securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 none /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0 systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16441 0 0 mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0 hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0 debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0 tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,nr_inodes=409600,inode64 0 0 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0 configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0 fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0 /dev/loop0 /var/lib/snapd/snap/ckermit-raymii/3 squashfs ro,nodev,relatime 0 0 /dev/loop1 /var/lib/snapd/snap/core20/1026 squashfs ro,nodev,relatime 0 0 /dev/loop3 /var/lib/snapd/snap/snapd/12159 squashfs ro,nodev,relatime 0 0 /dev/loop2 /var/lib/snapd/snap/core18/1997 squashfs ro,nodev,relatime 0 0 /dev/loop4 /var/lib/snapd/snap/core18/2074 squashfs ro,nodev,relatime 0 0 /dev/loop5 /var/lib/snapd/snap/qv2ray/4576 squashfs ro,nodev,relatime 0 0 /dev/nvme0n1p12 /home ext4 rw,noatime 0 0 /dev/loop6 /var/lib/snapd/snap/qv2ray/4531 squashfs ro,nodev,relatime 0 0 /dev/loop7 /var/lib/snapd/snap/gtk-common-themes/1515 squashfs ro,nodev,relatime 0 0 /dev/loop8 /var/lib/snapd/snap/snapd/11588 squashfs ro,nodev,relatime 0 0 /dev/nvme0n1p2 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/loop9 /var/lib/snapd/snap/core20/975 squashfs ro,nodev,relatime 0 0 tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=789028k,nr_inodes=197257,mode=700,uid=1000,gid=1001,inode64 0 0 gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1001 0 0 portal /run/user/1000/doc fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1001 0 0 [nisy thermal]# cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 root=UUID=2d9c4cbf-f29f-4a86-9589-5b791af79213 rw quiet apparmor=1 security=apparmor udev.log_priority=3


## [nisy thermal]# cat /proc/devices

Character devices: 1 mem 4 /dev/vc/0 4 tty 4 ttyS 5 /dev/tty 5 /dev/console 5 /dev/ptmx 7 vcs 10 misc 13 input 29 fb 81 video4linux 116 alsa 128 ptm 136 pts 180 usb 188 ttyUSB 189 usb_device 202 cpu/msr 203 cpu/cpuid 216 rfcomm 226 drm 235 media 236 aux 237 cec 238 mei 239 iio 240 binder 241 hidraw 242 nvme 243 bsg 244 watchdog 245 remoteproc 246 ptp 247 pps 248 lirc 249 rtc 250 dma_heap 251 dax 252 dimmctl 253 ndctl 254 gpiochip

Block devices: 7 loop 8 sd 65 sd 66 sd 67 sd 68 sd 69 sd 70 sd 71 sd 128 sd 129 sd 130 sd 131 sd 132 sd 133 sd 134 sd 135 sd 259 blkext


## [nisy thermal]# df -h

文件系统 容量 已用 可用 已用% 挂载点 dev 3.8G 0 3.8G 0% /dev run 3.8G 1.8M 3.8G 1% /run /dev/nvme0n1p10 58G 30G 25G 55% / tmpfs 3.8G 30M 3.8G 1% /dev/shm tmpfs 3.8G 86M 3.7G 3% /tmp /dev/loop0 3.4M 3.4M 0 100% /var/lib/snapd/snap/ckermit-raymii/3 /dev/loop1 62M 62M 0 100% /var/lib/snapd/snap/core20/1026 /dev/loop3 33M 33M 0 100% /var/lib/snapd/snap/snapd/12159 /dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/core18/1997 /dev/loop4 56M 56M 0 100% /var/lib/snapd/snap/core18/2074 /dev/loop5 111M 111M 0 100% /var/lib/snapd/snap/qv2ray/4576 /dev/nvme0n1p12 4.2G 3.7G 291M 93% /home /dev/loop6 111M 111M 0 100% /var/lib/snapd/snap/qv2ray/4531 /dev/loop7 66M 66M 0 100% /var/lib/snapd/snap/gtk-common-themes/1515 /dev/loop8 33M 33M 0 100% /var/lib/snapd/snap/snapd/11588 /dev/nvme0n1p2 99M 60M 40M 61% /boot/efi /dev/loop9 62M 62M 0 100% /var/lib/snapd/snap/core20/975 tmpfs 771M 3.2M 768M 1% /run/user/1000


## [nisy thermal]#  fdisk -l

Disk /dev/nvme0n1:465.76 GiB,500107862016 字节,976773168 个扇区 磁盘型号:HP SSD EX900 500GB
单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节 磁盘标签类型:gpt 磁盘标识符:9720BF8D-4439-4682-A371-445D39A9447D

设备 起点 末尾 扇区 大小 类型 /dev/nvme0n1p1 34 262177 262144 128M EFI 系统 /dev/nvme0n1p2 264192 468991 204800 100M EFI 系统 /dev/nvme0n1p3 468992 168241151 167772160 80G Microsoft 基本数据 /dev/nvme0n1p4 168241152 475809791 307568640 146.7G Microsoft 基本数据 /dev/nvme0n1p5 475809792 476858367 1048576 512M Windows 恢复环境 /dev/nvme0n1p6 476858368 498249727 21391360 10.2G Windows 恢复环境 /dev/nvme0n1p7 498249728 500346879 2097152 1G Windows 恢复环境 /dev/nvme0n1p8 500346880 608794623 108447744 51.7G Linux 文件系统 /dev/nvme0n1p9 608794624 791459839 182665216 87.1G Microsoft 基本数据 /dev/nvme0n1p10 791459840 915333119 123873280 59.1G Linux 文件系统 /dev/nvme0n1p11 915333120 967761919 52428800 25G Linux 文件系统 /dev/nvme0n1p12 967761920 976773134 9011215 4.3G Linux 文件系统

Disk /dev/loop0:3.32 MiB,3485696 字节,6808 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop1:61.73 MiB,64729088 字节,126424 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop2:55.45 MiB,58142720 字节,113560 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop3:32.28 MiB,33845248 字节,66104 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop4:55.44 MiB,58134528 字节,113544 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop5:110.69 MiB,116064256 字节,226688 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop6:110.68 MiB,116060160 字节,226680 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop7:65.1 MiB,68259840 字节,133320 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop8:32.27 MiB,33841152 字节,66096 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节

Disk /dev/loop9:61.72 MiB,64720896 字节,126408 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节


## [nisy thermal]# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 3.3M 1 loop /var/lib/snapd/snap/ckermit-raymii/3 loop1 7:1 0 61.7M 1 loop /var/lib/snapd/snap/core20/1026 loop2 7:2 0 55.4M 1 loop /var/lib/snapd/snap/core18/1997 loop3 7:3 0 32.3M 1 loop /var/lib/snapd/snap/snapd/12159 loop4 7:4 0 55.4M 1 loop /var/lib/snapd/snap/core18/2074 loop5 7:5 0 110.7M 1 loop /var/lib/snapd/snap/qv2ray/4576 loop6 7:6 0 110.7M 1 loop /var/lib/snapd/snap/qv2ray/4531 loop7 7:7 0 65.1M 1 loop /var/lib/snapd/snap/gtk-common-themes/1515 loop8 7:8 0 32.3M 1 loop /var/lib/snapd/snap/snapd/11588 loop9 7:9 0 61.7M 1 loop /var/lib/snapd/snap/core20/975 nvme0n1 259:0 0 465.8G 0 disk ├─nvme0n1p1 259:1 0 128M 0 part ├─nvme0n1p2 259:2 0 100M 0 part /boot/efi ├─nvme0n1p3 259:3 0 80G 0 part ├─nvme0n1p4 259:4 0 146.7G 0 part ├─nvme0n1p5 259:5 0 512M 0 part ├─nvme0n1p6 259:6 0 10.2G 0 part ├─nvme0n1p7 259:7 0 1G 0 part ├─nvme0n1p8 259:8 0 51.7G 0 part ├─nvme0n1p9 259:9 0 87.1G 0 part ├─nvme0n1p10 259:10 0 59.1G 0 part / ├─nvme0n1p11 259:11 0 25G 0 part └─nvme0n1p12 259:12 0 4.3G 0 part /home


## [nisy thermal]# cd /sys/class/thermal

[nisy thermal]# cat ./thermal_zone0/temp 20000 [nisy thermal]# cat ./thermal_zone0/type INT3400 Thermal [nisy thermal]# cat ./thermal_zone1/temp 50 [nisy thermal]# cat ./thermal_zone1/type SEN1 [nisy thermal]# cat ./thermal_zone2/temp 64050 [nisy thermal]# cat ./thermal_zone2/type SEN2 [nisy thermal]# cat ./thermal_zone3/temp 51050 [nisy thermal]# cat ./thermal_zone3/type SEN3 [nisy thermal]# cat ./thermal_zone4/temp 60050 [nisy thermal]# cat ./thermal_zone4/type SEN4 [nisy thermal]#