Skip to content

Power consumption entries for desktops #320

Closed

Description

@HubKing

Has this issue been covered in the Wiki?

  • I have read the Wiki and my issue is not covered.

Is there an existing issue reported already?

  • I have searched the existing issues, it does not exist.

Describe the new feature you would like

On laptops, battery information can show power consumption, but on desktops battery information does not work. It would be nice if it could display the power consumption (W) of each components like the CPU, GPU, etc.

On Windows, HWiNFO could display such information, but I am not sure if there is a Linux app that can show the same information. Since it can be done on Windows, wouldn't it be possible on Linux, too?

HWiNFO's screenshots:

image
image

Activity

  1. corecoding commented on Feb 23, 2023

    @corecoding
    Owner

    Aside from a laptop battery, I am not sure how to display watts. One would need volts and amps. I have never seen amps listed in /sys/class/hwmon (where Vitals gets sensor info). I feel like if this was possible in Linux, it would be queried another way, and would likely 1) require root access or 2) slow down Vitals when it shells to disk. If you can find an article on how to get amps (or watts) I would consider it for Vitals.

  2. HubKing commented on Feb 23, 2023

    @HubKing
    Author

    Well, I thought many utilities that showed power usage in Watts on Windows, but I just searched for it and it seems that the common answers are that computers do not provide Watts information. I have no idea how then those utilities could show it, but maybe they were just showing estimates.

    If it is not possible, I will close this.

  3. HubKing commented on Mar 23, 2023

    @HubKing
    Author

    It seems that sensors command on Linux can show GPU's power consumption in Watts somehow, without root.

    image

  4. corecoding commented on Mar 24, 2023

    @corecoding
    Owner

    Can you run strace sensors and see what path/file is exposing the AMD GPU stats? You may need to install the strace command

  5. HubKing commented on Mar 24, 2023

    @HubKing
    Author

    I think these are relevant logs:

    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in0_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "725\n", 4096) = 4
    close(3) = 0
    write(1, "vddgfx: 725.00 mV \n", 24vddgfx: 725.00 mV
    ) = 24

    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "PPT\n", 4096) = 4
    read(3, "", 4096) = 0
    close(3) = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_cap", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "135000000\n", 4096) = 10
    close(3) = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_average", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "16000000\n", 4096) = 9
    close(3) = 0
    write(1, "PPT: 16.00 W (cap = 13"..., 40PPT: 16.00 W (cap = 135.00 W)
    ) = 40

  6. loafylemon commented on May 8, 2023

    @loafylemon

    I'd love to see this feature being added!

    Providing additional logs; 7900 XTX

    Pruned output:

    read(4, "amdgpu\n", 4096) = 7
    close(4) = 0
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0/subsystem", "../../../../bus/pci", 254) = 19
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
    newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(4, 0x55cb16b27380 / 17 entries /, 32768) = 528
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in0_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_average", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    getdents64(4, 0x55cb16b27380 / 0 entries /, 32768) = 0
    close(4) = 0
    
    Full output
    execve("/usr/bin/sensors", ["sensors"], 0x7ffce01f8b60 /* 44 vars */) = 0
    brk(NULL)                               = 0x55cb16b1d000
    arch_prctl(0x3001 /* ARCH_??? */, 0x7ffe5972c690) = -1 EINVAL (Invalid argument)
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d54dc6000
    access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=88811, ...}, AT_EMPTY_PATH) = 0
    mmap(NULL, 88811, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1d54db0000
    close(3)                                = 0
    openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libsensors.so.5", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=59944, ...}, AT_EMPTY_PATH) = 0
    mmap(NULL, 62520, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d54da0000
    mprotect(0x7f1d54da2000, 49152, PROT_NONE) = 0
    mmap(0x7f1d54da2000, 28672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f1d54da2000
    mmap(0x7f1d54da9000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f1d54da9000
    mmap(0x7f1d54dae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f1d54dae000
    close(3)                                = 0
    openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\237\2\0\0\0\0\0"..., 832) = 832
    pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
    pread64(3, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 48, 848) = 48
    pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0i8\235HZ\227\223\333\350s\360\352,\223\340."..., 68, 896) = 68
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2216304, ...}, AT_EMPTY_PATH) = 0
    pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
    mmap(NULL, 2260560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d54a00000
    mmap(0x7f1d54a28000, 1658880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f1d54a28000
    mmap(0x7f1d54bbd000, 360448, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bd000) = 0x7f1d54bbd000
    mmap(0x7f1d54c15000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x214000) = 0x7f1d54c15000
    mmap(0x7f1d54c1b000, 52816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1d54c1b000
    close(3)                                = 0
    openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=940560, ...}, AT_EMPTY_PATH) = 0
    mmap(NULL, 942344, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d54cb9000
    mmap(0x7f1d54cc7000, 507904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f1d54cc7000
    mmap(0x7f1d54d43000, 372736, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8a000) = 0x7f1d54d43000
    mmap(0x7f1d54d9e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe4000) = 0x7f1d54d9e000
    close(3)                                = 0
    mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1d54cb6000
    arch_prctl(ARCH_SET_FS, 0x7f1d54cb6740) = 0
    set_tid_address(0x7f1d54cb6a10)         = 88867
    set_robust_list(0x7f1d54cb6a20, 24)     = 0
    rseq(0x7f1d54cb70e0, 0x20, 0, 0x53053053) = 0
    mprotect(0x7f1d54c15000, 16384, PROT_READ) = 0
    mprotect(0x7f1d54d9e000, 4096, PROT_READ) = 0
    mprotect(0x7f1d54dae000, 4096, PROT_READ) = 0
    mprotect(0x55cb15523000, 4096, PROT_READ) = 0
    mprotect(0x7f1d54e00000, 8192, PROT_READ) = 0
    prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
    munmap(0x7f1d54db0000, 88811)           = 0
    getrandom("\x06\xb3\x8b\x2e\xe1\xa8\x3d\x3a", 8, GRND_NONBLOCK) = 8
    brk(NULL)                               = 0x55cb16b1d000
    brk(0x55cb16b3e000)                     = 0x55cb16b3e000
    openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=15752576, ...}, AT_EMPTY_PATH) = 0
    mmap(NULL, 15752576, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1d53a00000
    close(3)                                = 0
    statfs("/sys", {f_type=SYSFS_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOSUID|ST_NODEV|ST_NOEXEC|ST_RELATIME}) = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
    newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(3, 0x55cb16b1e360 /* 20 entries */, 32768) = 624
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-3/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU SMU 0\n", 4096)         = 13
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-10/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM aux hw bus 1\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-1/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "SMBus PIIX4 adapter port 2 at 0b"..., 4096) = 35
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-17/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM aux hw bus 3\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-8/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 3\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-15/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM aux hw bus 1\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-6/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 1\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-13/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 2\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-4/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU SMU 1\n", 4096)         = 13
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-11/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 0\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-2/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "SMBus PIIX4 adapter port 1 at 0b"..., 4096) = 35
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-0/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "SMBus PIIX4 adapter port 0 at 0b"..., 4096) = 35
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-9/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM aux hw bus 0\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-16/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM aux hw bus 2\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-7/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 2\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-14/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 3\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-5/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 0\n", 4096) = 23
    close(4)                                = 0
    openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-12/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "AMDGPU DM i2c hw bus 1\n", 4096) = 23
    close(4)                                = 0
    getdents64(3, 0x55cb16b1e360 /* 0 entries */, 32768) = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
    newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(3, 0x55cb16b1e360 /* 7 entries */, 32768) = 208
    readlink("/sys", 0x7ffe5972b9e0, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/class", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon/hwmon4", "../../devices/pci0000:00/0000:00"..., 1023) = 50
    readlink("/sys/devices", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:18.3", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:18.3/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon4", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon4/device", "../../../0000:00:18.3", 1023) = 21
    readlink("/sys/devices/pci0000:00/0000:00:18.3", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "k10temp\n", 4096)              = 8
    close(4)                                = 0
    readlink("/sys/devices/pci0000:00/0000:00:18.3/subsystem", "../../../bus/pci", 254) = 16
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
    newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(4, 0x55cb16b26eb0 /* 11 entries */, 32768) = 328
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp3_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    getdents64(4, 0x55cb16b26eb0 /* 0 entries */, 32768) = 0
    close(4)                                = 0
    readlink("/sys", 0x7ffe5972b9e0, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/class", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon/hwmon2", "../../devices/pci0000:00/0000:00"..., 1023) = 89
    readlink("/sys/devices", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/hwmon/hwmon2", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/hwmon/hwmon2/device", "../../../0000:03:00.0", 1023) = 21
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "amdgpu\n", 4096)               = 7
    close(4)                                = 0
    readlink("/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.0/subsystem", "../../../../../../bus/pci", 254) = 25
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
    newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(4, 0x55cb16b27380 /* 43 entries */, 32768) = 1424
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_crit_hyst", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/in0_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_emergency", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_min", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_crit_hyst", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_max", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/power1_cap", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/power1_average", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_emergency", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_crit_hyst", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_emergency", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    getdents64(4, 0x55cb16b27380 /* 0 entries */, 32768) = 0
    close(4)                                = 0
    readlink("/sys", 0x7ffe5972b9e0, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/class", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon/hwmon0", "../../devices/pci0000:00/0000:00"..., 1023) = 94
    readlink("/sys/devices", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1/hwmon0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1/hwmon0/device", "../../nvme1", 1023) = 11
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "nvme\n", 4096)                 = 5
    close(4)                                = 0
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1/subsystem", "../../../../../../../../class/nv"..., 254) = 34
    readlink("/sys", 0x7ffe5972b600, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/devices", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/nvme/nvme1/device", "../../../0000:07:00.0", 1023) = 21
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:02.1/0000:05:00.0/0000:06:00.0/0000:07:00.0/subsystem", "../../../../../../bus/pci", 254) = 25
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
    newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(4, 0x55cb16b27380 /* 21 entries */, 32768) = 648
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_min", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_max", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_min", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_max", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_alarm", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_min", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_max", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    getdents64(4, 0x55cb16b27380 /* 0 entries */, 32768) = 0
    close(4)                                = 0
    readlink("/sys", 0x7ffe5972b9e0, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/class", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon/hwmon3", "../../devices/pci0000:00/0000:00"..., 1023) = 63
    readlink("/sys/devices", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:08.1", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0/hwmon/hwmon3", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0/hwmon/hwmon3/device", "../../../0000:11:00.0", 1023) = 21
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "amdgpu\n", 4096)               = 7
    close(4)                                = 0
    readlink("/sys/devices/pci0000:00/0000:00:08.1/0000:11:00.0/subsystem", "../../../../bus/pci", 254) = 19
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
    newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(4, 0x55cb16b27380 /* 17 entries */, 32768) = 528
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in0_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_average", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon3/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    getdents64(4, 0x55cb16b27380 /* 0 entries */, 32768) = 0
    close(4)                                = 0
    readlink("/sys", 0x7ffe5972b9e0, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/class", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/class/hwmon/hwmon1", "../../devices/pci0000:00/0000:00"..., 1023) = 68
    readlink("/sys/devices", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0/hwmon1", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0/hwmon1/device", "../../nvme0", 1023) = 11
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0", 0x7ffe5972b9e0, 1023) = -1 EINVAL (Invalid argument)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/name", O_RDONLY) = 4
    newfstatat(4, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(4, "nvme\n", 4096)                 = 5
    close(4)                                = 0
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0/subsystem", "../../../../../../class/nvme", 254) = 28
    readlink("/sys", 0x7ffe5972b600, 1023)  = -1 EINVAL (Invalid argument)
    readlink("/sys/devices", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/nvme/nvme0/device", "../../../0000:04:00.0", 1023) = 21
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0", 0x7ffe5972b600, 1023) = -1 EINVAL (Invalid argument)
    readlink("/sys/devices/pci0000:00/0000:00:01.2/0000:04:00.0/subsystem", "../../../../bus/pci", 254) = 19
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
    newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0
    getdents64(4, 0x55cb16b27380 /* 21 entries */, 32768) = 648
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_min", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_max", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_min", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_max", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_alarm", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_min", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_max", {st_mode=S_IFREG|0644, st_size=4096, ...}, 0) = 0
    newfstatat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_input", {st_mode=S_IFREG|0444, st_size=4096, ...}, 0) = 0
    getdents64(4, 0x55cb16b27380 /* 0 entries */, 32768) = 0
    close(4)                                = 0
    getdents64(3, 0x55cb16b1e360 /* 0 entries */, 32768) = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/etc/sensors3.conf", O_RDONLY) = 3
    ioctl(3, TCGETS, 0x7ffe5972c380)        = -1 ENOTTY (Inappropriate ioctl for device)
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=10593, ...}, AT_EMPTY_PATH) = 0
    read(3, "# libsensors configuration file\n"..., 8192) = 8192
    read(3, "bel in2 \"+3.3V\"\n    label in3 \"+"..., 8192) = 2401
    read(3, "", 4096)                       = 0
    read(3, "", 8192)                       = 0
    ioctl(3, TCGETS, 0x7ffe5972aed0)        = -1 ENOTTY (Inappropriate ioctl for device)
    close(3)                                = 0
    openat(AT_FDCWD, "/etc/sensors.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
    newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    brk(0x55cb16b64000)                     = 0x55cb16b64000
    getdents64(3, 0x55cb16b3ba80 /* 3 entries */, 32768) = 80
    getdents64(3, 0x55cb16b3ba80 /* 0 entries */, 32768) = 0
    brk(0x55cb16b5c000)                     = 0x55cb16b5c000
    close(3)                                = 0
    openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=27002, ...}, AT_EMPTY_PATH) = 0
    mmap(NULL, 27002, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1d54dbf000
    close(3)                                = 0
    futex(0x7f1d54c1aa6c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=18704, ...}, AT_EMPTY_PATH) = 0
    mmap(NULL, 20560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1d54db9000
    mmap(0x7f1d54dba000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f1d54dba000
    mmap(0x7f1d54dbc000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1d54dbc000
    mmap(0x7f1d54dbd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1d54dbd000
    close(3)                                = 0
    mprotect(0x7f1d54dbd000, 4096, PROT_READ) = 0
    newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0
    write(1, "k10temp-pci-00c3\n", 17k10temp-pci-00c3
    )      = 17
    write(1, "Adapter: PCI adapter\n", 21Adapter: PCI adapter
    )  = 21
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Tctl\n", 4096)                 = 5
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Tccd1\n", 4096)                = 6
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Tctl\n", 4096)                 = 5
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "34125\n", 4096)                = 6
    close(3)                                = 0
    write(1, "Tctl:         +34.1\302\260C  \n", 25Tctl:         +34.1°C  
    ) = 25
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Tccd1\n", 4096)                = 6
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon4/temp3_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "31750\n", 4096)                = 6
    close(3)                                = 0
    write(1, "Tccd1:        +31.8\302\260C  \n", 25Tccd1:        +31.8°C  
    ) = 25
    write(1, "\n", 1
    )                       = 1
    write(1, "amdgpu-pci-0300\n", 16amdgpu-pci-0300
    )       = 16
    write(1, "Adapter: PCI adapter\n", 21Adapter: PCI adapter
    )  = 21
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/in0_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "vddgfx\n", 4096)               = 7
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_label", O_RDONLY) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "edge\n", 4096)                 = 5
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "junction\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "mem\n", 4096)                  = 4
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/power1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "PPT\n", 4096)                  = 4
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/in0_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "vddgfx\n", 4096)               = 7
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/in0_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "571\n", 4096)                  = 4
    close(3)                                = 0
    write(1, "vddgfx:      571.00 mV \n", 24vddgfx:      571.00 mV 
    ) = 24
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_label", O_RDONLY) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "0\n", 4096)                    = 2
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "0\n", 4096)                    = 2
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/fan1_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "3200\n", 4096)                 = 5
    close(3)                                = 0
    write(1, "fan1:           0 RPM  (min =   "..., 56fan1:           0 RPM  (min =    0 RPM, max = 3200 RPM)
    ) = 56
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "edge\n", 4096)                 = 5
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "29000\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_crit", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "100000\n", 4096)               = 7
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_crit_hyst", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp1_emergency", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "105000\n", 4096)               = 7
    close(3)                                = 0
    write(1, "edge:         +29.0\302\260C  (crit = "..., 61edge:         +29.0°C  (crit = +100.0°C, hyst = -273.1°C)
    ) = 61
    write(1, "                       (emerg = "..., 43                       (emerg = +105.0°C)
    ) = 43
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "junction\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "36000\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_crit", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "110000\n", 4096)               = 7
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_crit_hyst", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp2_emergency", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "115000\n", 4096)               = 7
    close(3)                                = 0
    write(1, "junction:     +36.0\302\260C  (crit = "..., 61junction:     +36.0°C  (crit = +110.0°C, hyst = -273.1°C)
    ) = 61
    write(1, "                       (emerg = "..., 43                       (emerg = +115.0°C)
    ) = 43
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "mem\n", 4096)                  = 4
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "44000\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_crit", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "108000\n", 4096)               = 7
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_crit_hyst", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/temp3_emergency", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "113000\n", 4096)               = 7
    close(3)                                = 0
    write(1, "mem:          +44.0\302\260C  (crit = "..., 61mem:          +44.0°C  (crit = +108.0°C, hyst = -273.1°C)
    ) = 61
    write(1, "                       (emerg = "..., 43                       (emerg = +113.0°C)
    ) = 43
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/power1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "PPT\n", 4096)                  = 4
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/power1_cap", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "291000000\n", 4096)            = 10
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon2/power1_average", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "28000000\n", 4096)             = 9
    close(3)                                = 0
    write(1, "PPT:          28.00 W  (cap = 29"..., 40PPT:          28.00 W  (cap = 291.00 W)
    ) = 40
    write(1, "\n", 1
    )                       = 1
    write(1, "nvme-pci-0700\n", 14nvme-pci-0700
    )         = 14
    write(1, "Adapter: PCI adapter\n", 21Adapter: PCI adapter
    )  = 21
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Composite\n", 4096)            = 10
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 1\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 2\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Composite\n", 4096)            = 10
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "31850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_alarm", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "0\n", 4096)                    = 2
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "84850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_crit", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "84850\n", 4096)                = 6
    close(3)                                = 0
    write(1, "Composite:    +31.9\302\260C  (low  = "..., 60Composite:    +31.9°C  (low  = -273.1°C, high = +84.8°C)
    ) = 60
    write(1, "                       (crit = +"..., 41                       (crit = +84.8°C)
    ) = 41
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 1\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "31850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp2_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "65261850\n", 4096)             = 9
    close(3)                                = 0
    write(1, "Sensor 1:     +31.9\302\260C  (low  = "..., 63Sensor 1:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)
    ) = 63
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 2\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "24850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp3_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "65261850\n", 4096)             = 9
    close(3)                                = 0
    write(1, "Sensor 2:     +24.9\302\260C  (low  = "..., 63Sensor 2:     +24.9°C  (low  = -273.1°C, high = +65261.8°C)
    ) = 63
    write(1, "\n", 1
    )                       = 1
    write(1, "amdgpu-pci-1100\n", 16amdgpu-pci-1100
    )       = 16
    write(1, "Adapter: PCI adapter\n", 21Adapter: PCI adapter
    )  = 21
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in0_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "vddgfx\n", 4096)               = 7
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "vddnb\n", 4096)                = 6
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "edge\n", 4096)                 = 5
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "PPT\n", 4096)                  = 4
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in0_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "vddgfx\n", 4096)               = 7
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in0_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "1064\n", 4096)                 = 5
    close(3)                                = 0
    write(1, "vddgfx:        1.06 V  \n", 24vddgfx:        1.06 V  
    ) = 24
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "vddnb\n", 4096)                = 6
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/in1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "1020\n", 4096)                 = 5
    close(3)                                = 0
    write(1, "vddnb:         1.02 V  \n", 24vddnb:         1.02 V  
    ) = 24
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "edge\n", 4096)                 = 5
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/temp1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "29000\n", 4096)                = 6
    close(3)                                = 0
    write(1, "edge:         +29.0\302\260C  \n", 25edge:         +29.0°C  
    ) = 25
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "PPT\n", 4096)                  = 4
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon3/power1_average", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "28200000\n", 4096)             = 9
    close(3)                                = 0
    write(1, "PPT:          28.20 W  \n", 24PPT:          28.20 W  
    ) = 24
    write(1, "\n", 1
    )                       = 1
    write(1, "nvme-pci-0400\n", 14nvme-pci-0400
    )         = 14
    write(1, "Adapter: PCI adapter\n", 21Adapter: PCI adapter
    )  = 21
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Composite\n", 4096)            = 10
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 1\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 2\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Composite\n", 4096)            = 10
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "29850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_alarm", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "0\n", 4096)                    = 2
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "81850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_crit", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "84850\n", 4096)                = 6
    close(3)                                = 0
    write(1, "Composite:    +29.9\302\260C  (low  = "..., 60Composite:    +29.9°C  (low  = -273.1°C, high = +81.8°C)
    ) = 60
    write(1, "                       (crit = +"..., 41                       (crit = +84.8°C)
    ) = 41
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 1\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "29850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "65261850\n", 4096)             = 9
    close(3)                                = 0
    write(1, "Sensor 1:     +29.9\302\260C  (low  = "..., 63Sensor 1:     +29.9°C  (low  = -273.1°C, high = +65261.8°C)
    ) = 63
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_label", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "Sensor 2\n", 4096)             = 9
    read(3, "", 4096)                       = 0
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_input", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0444, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "31850\n", 4096)                = 6
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_min", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "-273150\n", 4096)              = 8
    close(3)                                = 0
    openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_max", O_RDONLY) = 3
    newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=4096, ...}, AT_EMPTY_PATH) = 0
    read(3, "65261850\n", 4096)             = 9
    close(3)                                = 0
    write(1, "Sensor 2:     +31.9\302\260C  (low  = "..., 63Sensor 2:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)
    ) = 63
    write(1, "\n", 1
    )                       = 1
    exit_group(0)                           = ?
    +++ exited with 0 +++
    
  7. changed the title [-]Power consumption entires on desktops[/-] [+]Power consumption entries for desktops[/+] on May 9, 2023
  8. jrueb commented on May 20, 2023

    @jrueb

    Wouldn't this be possible to realize via /sys/class/powercap/? For me this has an attribute energy_uj from which I can compute power consumption in Watts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions