On Mon 26 Jun 2023, at 17:53, Stephen P. Molnar <s.mol...@sbcglobal.net> wrote:
> I have been testing Bullseye 

This contrasts with the subject's mention of Bookworm, so I am assuming you 
mean Bookworm (that is, Debian 12)

> in a VM and haven't encountered any 
> problems, at least not until now.
>

> It would appear that hddtemp has not been included. If this is the case, 
> what is an alternate method for monitoring drive temperatures?

$ cat /etc/debian_version
12.0

Using sudo or "su -":

smartctl -a /dev/sda|grep Tem
194 Temperature_Celsius     0x0022   066   039   000    Old_age   Always       
-       34 (Min/Max 11/61)

works, though it doesn't respond normally to "| cut -fx" where x is a field 
number.  Values don't seem to be tab-separated, so some jiggery-pokery may be 
required if you're recording the output somewhere.

I still have hddtemp installed having upgraded from Buster > Bullseye > Bookworm

$ aptitude why hddtemp
i   mate-desktop-environment        Suggests   mate-desktop-environment-extras (
                                               >= 1.26)                         
p   mate-desktop-environment-extras Recommends mate-sensors-applet (>= 1.26)    
p   mate-sensors-applet             Recommends hddtemp    

and indeed:

$ sudo hddtemp /dev/sda
/dev/sda: TOSHIBA THNSNH128GMCT: 35°C

...but this "recommends" presumably won't be available in a fresh Bookworm 
installation, since

$ apt policy hddtemp
hddtemp:
  Installed: 0.3-beta15-54
  Candidate: 0.3-beta15-54
  Version table:
 *** 0.3-beta15-54 100
        100 /var/lib/dpkg/status
$

Hope that helps.

Best wishes,
Gareth

>
> Thanks in advance
>
> -- 
> Stephen P. Molnar, PhD
> https://insilicochemistry.net
> (614)-312-7528
> Skype: smolnar1

Reply via email to