9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jim Erickson <jimerickso@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] cpu temp in drawterm
Date: Tue, 14 Feb 2023 17:55:09 -0600	[thread overview]
Message-ID: <CALugi+V6tetOoHN9_5SAeSQ1Twz1nkCwy8QxZufkB=_eAf1Q3w@mail.gmail.com> (raw)
In-Reply-To: <16764128190.ffda13d.8622@composer.9fans.topicbox.com>

thank you moody! 'bind -a '#P' /dev' did the trick! i appreciate the
feedback. thanks to all for your time.

On Tue, Feb 14, 2023 at 4:13 PM <moody@posixcafe.org> wrote:
> Resending this through the web interface because my email was dropped.
> Temperature stats are read from /dev/cputemp. How that file is served depends on your system.
> On my machine the file is just in arch(3), other machines use acpi(8) to serve this.
> You just need to ensure this file is in the namespace stats(1) is run within.
> For getting the temperature of the machine you are connecting to, either:
> % bind -a '#P' /dev # if your machine is like mine
> % aux/acpi # if your machine uses acpi
> You will likely have more success in just cracking open the code and reading it then you will with google.
> moody
> 9fans / 9fans / see discussions + participants + delivery options Permalink

9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tc8476d0fe749cf6c-Mc4d14e19a0d57e11c6b4888c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2023-02-14 23:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-14 21:05 jimerickso
2023-02-14 21:28 ` Skip Tavakkolian
2023-02-14 22:04   ` David du Colombier
2023-02-14 22:13     ` moody
2023-02-14 23:55       ` Jim Erickson [this message]
2023-02-15  6:37     ` Skip Tavakkolian

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:

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

  git send-email \
    --in-reply-to='CALugi+V6tetOoHN9_5SAeSQ1Twz1nkCwy8QxZufkB=_eAf1Q3w@mail.gmail.com' \
    --to=jimerickso@gmail.com \
    --cc=9fans@9fans.net \


* 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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).