9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] temp of remote machine with stats
@ 2023-03-23  0:39 jimerickso
  2023-03-23  0:56 ` Jacob Moody
  0 siblings, 1 reply; 6+ messages in thread
From: jimerickso @ 2023-03-23  0:39 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

i am using stats to monitor a remote machine i have. i can get all the stats except temp. i have 'bind -a '#P' /dev' in lib/profile on both machines. how can i get the temp of the remote machine? thank you for your time.
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M459e1fabba9820dd387becb9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 952 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] temp of remote machine with stats
  2023-03-23  0:39 [9fans] temp of remote machine with stats jimerickso
@ 2023-03-23  0:56 ` Jacob Moody
  2023-03-23  1:27   ` jimerickso
  2023-03-23  4:15   ` jimerickso
  0 siblings, 2 replies; 6+ messages in thread
From: Jacob Moody @ 2023-03-23  0:56 UTC (permalink / raw)
  To: 9fans

On 3/22/23 18:39, jimerickso@gmail.com wrote:
> i am using stats to monitor a remote machine i have. i can get all the stats except temp. i have 'bind -a '#P' /dev' in lib/profile on both machines. how can i get the temp of the remote machine? thank you for your time.
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions <https://9fans.topicbox.com/groups/9fans> + participants <https://9fans.topicbox.com/groups/9fans/members> + delivery options <https://9fans.topicbox.com/groups/9fans/subscription> Permalink <https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M459e1fabba9820dd387becb9>

Stats(1) uses rimport to access files from the remote machine.
rimport does not run your lib/profile, so when it goes to
read the remote cputemp file it is not there.

This is a case for the /cfg/$sysname/namespace file I believe.
Create this file on your machines with the

bind -a #P /dev

line in them. Make sure to have the file end in a newline.
This /cfg/$sysname/namespace is sourced by /lib/namespace, which
is used to, among other things, construct the namespace that rimport will see.
See namespace(6) for more of a description of the namespace file format.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M6090e16b7c5cdbe7a2b8ba63
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] temp of remote machine with stats
  2023-03-23  0:56 ` Jacob Moody
@ 2023-03-23  1:27   ` jimerickso
  2023-03-23  4:15   ` jimerickso
  1 sibling, 0 replies; 6+ messages in thread
From: jimerickso @ 2023-03-23  1:27 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

thank you Jacob Moody that works perfectly!
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M7f694d163dbe99fbdf78cbe2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 759 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] temp of remote machine with stats
  2023-03-23  0:56 ` Jacob Moody
  2023-03-23  1:27   ` jimerickso
@ 2023-03-23  4:15   ` jimerickso
  2023-03-23  6:11     ` Jacob Moody
  1 sibling, 1 reply; 6+ messages in thread
From: jimerickso @ 2023-03-23  4:15 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

i spoke to soon. it works perfectly on my amd64 machines but not on my raspberry pi 4. what could i be doing wrong? or is the pi missing something?
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M412d1706a648343e466c7873
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 863 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] temp of remote machine with stats
  2023-03-23  4:15   ` jimerickso
@ 2023-03-23  6:11     ` Jacob Moody
  2023-03-23 10:48       ` Jim Erickson
  0 siblings, 1 reply; 6+ messages in thread
From: Jacob Moody @ 2023-03-23  6:11 UTC (permalink / raw)
  To: 9fans

On 3/22/23 22:15, jimerickso@gmail.com wrote:
> i spoke to soon. it works perfectly on my amd64 machines but not on my raspberry pi 4. what could i be doing wrong? or is the pi missing something?

A quick grep seems to indicate that devarch was never implemented for the bcm64 kernel.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M9010b51a00d30f0ecd40005c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] temp of remote machine with stats
  2023-03-23  6:11     ` Jacob Moody
@ 2023-03-23 10:48       ` Jim Erickson
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Erickson @ 2023-03-23 10:48 UTC (permalink / raw)
  To: 9fans

ok no problem and thanks again!

On Thu, Mar 23, 2023 at 1:11 AM Jacob Moody <moody@posixcafe.org> wrote:
>
> On 3/22/23 22:15, jimerickso@gmail.com wrote:
> > i spoke to soon. it works perfectly on my amd64 machines but not on my raspberry pi 4. what could i be doing wrong? or is the pi missing something?
> 
> A quick grep seems to indicate that devarch was never implemented for the bcm64 kernel.
> 

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td46dc64ab1f12bcf-M8f652fafe513814320f7a12a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-23 10:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23  0:39 [9fans] temp of remote machine with stats jimerickso
2023-03-23  0:56 ` Jacob Moody
2023-03-23  1:27   ` jimerickso
2023-03-23  4:15   ` jimerickso
2023-03-23  6:11     ` Jacob Moody
2023-03-23 10:48       ` Jim Erickson

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).