0 Members and 4 Guests are viewing this topic.
@Moltke Thanks for your reply - unfortunately this doesn't seem to work for the GPU (at least for the Dell Latitude D630), see below: Code: [Select]mike@D630:~$ inxi -sSensors: System Temperatures: cpu: 38.0C mobo: N/A Fan Speeds (in rpm): cpu: N/Amike@D630:~$ For some reason it says mobo is not available (not detected), and of course the Intel card is integrated into the mobo, so therefore no GPU temperature reading ...I notice the temperatures on your setup are pretty high (75-76 C); maybe more cooling needed ...
mike@D630:~$ inxi -sSensors: System Temperatures: cpu: 38.0C mobo: N/A Fan Speeds (in rpm): cpu: N/Amike@D630:~$
You can also add to Lite's conky widget with something like below, but you'll have to figure out which is the right number sensor.${hwmon temp 2}CAlso possible with lm sensors like the syntax below for conky for CPU multiple cores${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°CUpdates will be at conky's pace.You can also display in conky from cat like already suggested.TC
${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C
${hwmon temp 2}C
${execi 60 sensors | grep temp1 | cut -c 16-19}°C
product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
ls /sys/class/
$ ls /sys/class/ata_device devcoredump gpio kfd net pwm scsi_host vtconsoleata_link devfreq graphics leds nvme rapidio_port sound watchdogata_port dma hidraw mdio_bus pci_bus regulator spi_master wmibacklight dmi hwmon mem phy rfkill thermalbdi drm i2c-adapter memstick_host powercap rtc tpmblock drm_dp_aux_dev ieee80211 misc power_supply scsi_device ttybluetooth extcon input mmc_host pps scsi_disk vcbsg firmware iommu nd ptp scsi_generic video4linux
cat /sys/class/hwmon/hwmon0/temp1_input
67000
cat /sys/class/graphics/fb0/device/hwmon/hwmon2/temp1_input
66000
watch -c cat /sys/class/graphics/fb0/device/hwmon/hwmon2/temp1_input
Using command-line, how can I get the GPU temperatures?
inxi -s
inxi -sSensors: System Temperatures: cpu: 75.5 C mobo: N/A gpu: radeon temp: 76 C Fan Speeds (RPM): N/A
sudo apt-get install inxi
mike@D630:~$ sudo lshw -C display[sudo] password for mike: *-display:0 description: VGA compatible controller product: Mobile GM965/GL960 Integrated Graphics Controller (primary) vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 0c width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:27 memory:f6e00000-f6efffff memory:e0000000-efffffff ioport:efe8(size=8) *-display:1 UNCLAIMED description: Display controller product: Mobile GM965/GL960 Integrated Graphics Controller (secondary) vendor: Intel Corporation physical id: 2.1 bus info: pci@0000:00:02.1 version: 0c width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: latency=0 resources: memory:f6f00000-f6ffffff