Re: [9fans] cpu temp in drawterm

2023-02-14 Thread Skip Tavakkolian
Cool! Thanks. FYI, the patch is in http://9legacy.org/patch.html, but not on sources (not applied to pc/devarch.c and not in the patch directory) On Tue, Feb 14, 2023 at 2:06 PM David du Colombier <0in...@gmail.com> wrote: > > 9legacy supports temperature reporting on x86, using /dev/cputemp. >

Re: [9fans] cpu temp in drawterm

2023-02-14 Thread Jim Erickson
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 wrote: > > Resending this through the web interface because my email was dropped. > > Temperature stats are read from /dev/cputemp. How that file is served d

Re: [9fans] cpu temp in drawterm

2023-02-14 Thread moody
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 na

Re: [9fans] cpu temp in drawterm

2023-02-14 Thread David du Colombier
9legacy supports temperature reporting on x86, using /dev/cputemp. -- David du Colombier -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc8476d0fe749cf6c-M2a3473706c2d1e85ad580680 Delivery options: https://9fans.topicbox.com/groups/9fa

Re: [9fans] cpu temp in drawterm

2023-02-14 Thread Skip Tavakkolian
I don't believe 9legacy '#c/sysstat' (/sys/src/9/port/devcons.c) supports temperature reporting. If both drawterm's '#c/sysstat' and Plan 9's '#c/sysstat' implement it, they would need to agree on the format, because when using drawterm (as opposed to a real Plan 9 term), the commands run on the cp