From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27791 invoked from network); 14 Feb 2023 22:13:44 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 14 Feb 2023 22:13:44 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 42064353AB for ; Tue, 14 Feb 2023 17:13:44 -0500 (EST) (envelope-from bounce.mMeb226150653c010c57b2a088.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 3EFAFEA9A7D; Tue, 14 Feb 2023 17:13:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :subject:message-id:references:in-reply-to:date:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1676412824; x=1676499224; bh=BCJVBlynQFzJzEHFuds8e519osUTgQYm HN905a23tuk=; b=hxFf7NOQ7LELY2pZ3fPkoTxW9Dhz+SC3W0OXrKXOIkdpZ0rn gAxGvzOKDUbNDeVesvEPRdLMftI3WbJcAVj9OEg3kpWHgNjTxIKjARqSZ06AeGyR uGcy/qPgAyrcFE4CIjiu8ENSVh3d3fbjX5Ahk/bC3TFSYBLBDlY0Kme98es= From: moody@posixcafe.org To: 9fans <9fans@9fans.net> Subject: Re: [9fans] cpu temp in drawterm Message-Id: <16764128190.ffda13d.8622@composer.9fans.topicbox.com> References: <16764087130.097c.74505@composer.9fans.topicbox.com> In-Reply-To: Date: Tue, 14 Feb 2023 17:13:39 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=16764128191.D0B4.8622 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: d58f67d8-acb4-11ed-92c5-9b5541decc0b Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYzg0NzZkMGZlNzQ5Y2Y2Yy1NZWIyMjYxNTA2NTNjMDEwYzU3YjJh?= =?UTF-8?B?MDg4Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Meb226150653c010c57b2a088:1:uZT7-zj3aPUZFz4xs4cKcIFg3YSxtrFlSnxP4BQSGA8 --16764128191.D0B4.8622 Date: Tue, 14 Feb 2023 17:13:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Resending this through the web interface because my email was dropped. Temperature stats are read from /dev/cputemp. How that file is served depen= ds on your system. On my machine the file is just in arch(3), other machines use acpi(8) to se= rve this. You just need to ensure this file is in the namespace stats(1) is run withi= n. 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 readin= g it then you will with google. moody ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc8476d0fe749cf6c-Meb226= 150653c010c57b2a088 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --16764128191.D0B4.8622 Date: Tue, 14 Feb 2023 17:13:39 -0500 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Resending th=
is through the web interface because my email was dropped.

Temperature stats are read from /dev/cputemp. How that file is served depen=
ds on your system.
On my machine the file is just in arch(3), other machines use acpi(8) to se=
rve this.
You just need to ensure this file is in the namespace stats(1) is run withi=
n.

For getting the temperature of the mach= ine you are connecting to, either:
% bind -a '#P' /dev # if yo= ur machine is like mine
% aux/acpi # if your machine uses acpi
You will likely have more succes=
s in just cracking open the code and reading it then you will with google.<=
br />
moody
= --16764128191.D0B4.8622--