Crates.io | netidx-sysfs |
lib.rs | netidx-sysfs |
version | 0.1.2 |
source | src |
created_at | 2022-09-17 16:47:13.511945 |
updated_at | 2022-09-25 16:48:57.177521 |
description | An on demand publisher of sysfs/procfs |
homepage | |
repository | https://github.com/estokes/netidx-sysfs |
max_upload_size | |
id | 668236 |
size | 106,959 |
netidx-sysfs publishes the contents of small system files, such as those found in sysfs and procfs, to netidx, and allows writing values back subject to permissions. Because of the nature of sysfs and procfs netidx-sysfs behaves in the following potentially unexpected ways,
To setup cargo install netidx-sysfs
and make sure you have a netidx
resolver either on the local machine or somewhere on the network. To
run, either run as a regular user, in which case you won't be able to
see everything, or run as root for full access. E.G.
# netidx-sysfs -a local -b local --netidx-base /local/system/sysfs --path /sys
will publish sysfs to /local/system/sysfs
Of course you are not limited to publishing locally, you could publish every machine on your network's sysfs to netidx so you can read and manipulate values over the network while enjoying strong encryption, authentication, and authorization provided by netidx and your kerberos v5 infrastructure.
Because the resolver and browser automatically infer table structure
from regular tree structure, many of the things in sysfs and procfs
will be automatically formatted as tables. For example, here is a look
at my /sys/block