tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysinfo crate



Now with text ...

Hi,

The sysinfo crate just added support for NetBSD, got this from the main dev about one hour ago.

https://github.com/GuillaumeGomez/sysinfo/issues/631#issuecomment-3546953354

Any comments on his questions?

Not done in this PR:
 - Product/Motherboard information seems to not work and is incomplete
 - Temperature information is not retrieved
 - Process::open_files

For 3, I belive we need xdg-open from the xdg-utils package. At least that's what I usually use.

For 2, I got the suggestion from @wiz to point him at
https://github.com/0-wiz-0/rust-envsys/blob/main/README.md

For 1, I'm aware of:
~> sysctl hw.machine_arch hw.model hw.ncpu hw.usermem64
hw.machine_arch = x86_64
hw.model = Intel 686-class
hw.ncpu = 4
hw.usermem64 = 9703772160

But that doesn't give product/motherboard.

Any other suggestions/ideas?

Thank you!




Sent with Proton Mail secure email.

On Tuesday, November 18th, 2025 at 2:53 PM, pin <voidpin%protonmail.com@localhost> wrote:

> 
> 
> 
> Sent with Proton Mail secure email.


Home | Main Index | Thread Index | Old Index