From: Jacob Moody <moody@posixcafe.org>
To: 9fans@9fans.net
Subject: Re: [9fans] temp of remote machine with stats
Date: Wed, 22 Mar 2023 18:56:14 -0600 [thread overview]
Message-ID: <1cfaf370-478a-72f7-1320-03a9d417bb7c@posixcafe.org> (raw)
In-Reply-To: <16795319500.BbD4cb.72212@composer.9fans.topicbox.com>
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
next prev parent reply other threads:[~2023-03-23 0:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-23 0:39 jimerickso
2023-03-23 0:56 ` Jacob Moody [this message]
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
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=1cfaf370-478a-72f7-1320-03a9d417bb7c@posixcafe.org \
--to=moody@posixcafe.org \
--cc=9fans@9fans.net \
/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.
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).