This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import plotext as plt | |
from subprocess import check_output | |
import psutil | |
import time | |
CMD = "sensors amdgpu-pci-0500 | grep PPT | grep -oP '(?<=cap =) *(.?\d+)'" | |
TARGET_TEMP = 83 | |
CRITICAL_TEMP = 92 | |
CAP_MIN = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import plotext as plt | |
from subprocess import check_output | |
import psutil | |
import time | |
import math | |
CMD = "sensors amdgpu-pci-0500 | grep PPT | grep -oP '(?<=cap =) *(.?\d+)'" | |
TARGET_TEMP_MAX = 91 | |
TARGET_TEMP_MIN = 87 |
OlderNewer