{"id":21586063,"url":"https://github.com/magiclen/m-prober-lib","last_synced_at":"2025-04-10T20:15:18.078Z","repository":{"id":57640809,"uuid":"268617864","full_name":"magiclen/m-prober-lib","owner":"magiclen","description":"A library aims to quickly collect Linux system information including hostname, kernel version, uptime, RTC time, load average, CPU, memory, network interfaces, block devices and processes.","archived":false,"fork":false,"pushed_at":"2023-11-14T02:26:25.000Z","size":72,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T23:10:11.448Z","etag":null,"topics":["linux","mprober","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magiclen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-01T19:51:17.000Z","updated_at":"2023-09-11T04:02:43.000Z","dependencies_parsed_at":"2024-11-24T18:01:15.522Z","dependency_job_id":null,"html_url":"https://github.com/magiclen/m-prober-lib","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"68c09bcdff2ddbbe78610ce0d7c8270b7f398c83"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fm-prober-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fm-prober-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fm-prober-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fm-prober-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magiclen","download_url":"https://codeload.github.com/magiclen/m-prober-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248288702,"owners_count":21078907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","mprober","rust"],"created_at":"2024-11-24T15:12:31.806Z","updated_at":"2025-04-10T20:15:18.055Z","avatar_url":"https://github.com/magiclen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"M Prober Lib\n====================\n\n[![CI](https://github.com/magiclen/m-prober-lib/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/m-prober-lib/actions/workflows/ci.yml)\n\nThis crate aims to quickly collect Linux system information including hostname, kernel version, uptime, RTC time, load average, CPU, memory, network interfaces, block devices and processes.\n\n## Examples\n\n```rust\nuse mprober_lib::*;\n\nprintln!(\"{}\", hostname::get_hostname().unwrap());\nprintln!(\"{}\", kernel::get_kernel_version().unwrap());\nprintln!(\"{}\", btime::get_btime());\nprintln!(\"{}\", rtc_time::get_rtc_date_time().unwrap());\nprintln!(\"{:#?}\", uptime::get_uptime().unwrap());\nprintln!(\"{:#?}\", load_average::get_load_average().unwrap());\nprintln!(\"{:#?}\", cpu::get_cpus().unwrap());\nprintln!(\"{:#?}\", memory::free().unwrap());\nprintln!(\"{:#?}\", volume::get_volumes().unwrap());\nprintln!(\"{:#?}\", network::get_networks().unwrap());\nprintln!(\"{:#?}\", process::get_processes_with_stat(\u0026process::ProcessFilter::default()).unwrap().into_iter().map(|(process, _)| process).collect::\u003cVec\u003cprocess::Process\u003e\u003e());\n```\n\n## Benchmark\n\n```bash\ncargo bench\n```\n\n## Documentation\n\nhttps://docs.rs/mprober-lib\n\n## Official CLI\n\nhttps://crates.io/crates/mprober\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fm-prober-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiclen%2Fm-prober-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fm-prober-lib/lists"}