Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CPU Profile #69

Open
WingZer0o opened this issue Feb 17, 2024 · 1 comment
Open

Create CPU Profile #69

WingZer0o opened this issue Feb 17, 2024 · 1 comment

Comments

@WingZer0o
Copy link
Member

When loading a user's machine with the API token we want to get grab their machine information.

MAC Address
IP Address
Machine Agent (Windows / MacOX / Linux etc).

@WingZer0o
Copy link
Member Author

We can use the Rust sysinfo crate for this and create an FFI layer.

https://crates.io/crates/sysinfo

MAC Address

Machine Agent ETC.

    println!("System name:             {:?}", System::name());
    println!("System kernel version:   {:?}", System::kernel_version());
    println!("System OS version:       {:?}", System::os_version());
    println!("System host name:        {:?}", System::host_name());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant