all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Van L <van@scratch.space>
To: emacs-devel@gnu.org
Subject: Re: graceful shutdown response to temperature climb
Date: Thu, 14 Mar 2019 14:55:43 +1100	[thread overview]
Message-ID: <m2d0mum7nk.fsf@scratch.space> (raw)
In-Reply-To: CADAEaRXrBQgFZutx=OtCFzOVZSgoPDbK2cKv=WhCbuW27Lot7w@mail.gmail.com

Ahmed Khanzada <me@enzu.ru> writes:

> Love the Joni Mitchell quote, and her music.

Me too. What an artist. She paints to recharge her creativity batteries
for music, as a farmer does by letting the land lie fallow.

> I am interested in helping all things BSD in Emacs. Do you think the
> best way to duplicate your error is to create a scenario like yours?

On NetBSD-8 stable /usr/sbin/envstat lists

-- quote
                           Current  CritMax  WarnMax  WarnMin  CritMin  Unit
            temperature:    73.000  127.000                             degC
  cpu0/cpu1 temperature:    72.000   97.000                             degC
       cpu0 temperature:    73.000                                      degC
       cpu1 temperature:    72.000                                      degC
          temperature 0:    72.000                                      degC
          temperature 1:    47.000                                      degC
          temperature 3:    69.000                                      degC
            fan speed 0:      3984                                       RPM

-- quote ends

… perhaps what is needed is to track the temperature changes and to set
customizable thresholds allowing time enough to call shutdown gracefully.

> I'm also confused on a detail: did elisp or the OS trigger a shutdown
> when a certain temperature was reached?

I'd say the OS. The kernel build config lets you set the wait interval
before actual poweroff IIRC. But I don't think that interval allows the
file system to sort itself out to avoid corrupting and breaking the machine.

-- 
© 2019 Van L
gpg using EEF2 37E9 3840 0D5D 9183  251E 9830 384E 9683 B835
"What's so strange when you know that you're a Wizard at 3?" -Joni Mitchell




      reply	other threads:[~2019-03-14  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 15:54 [OFFTOPIC] (was: [PATCH] Fix battery information on FreeBSD) Ahmed Khanzada
2019-03-14  3:55 ` Van L [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2d0mum7nk.fsf@scratch.space \
    --to=van@scratch.space \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.