{"id":18500695,"url":"https://github.com/navidys/procsys","last_synced_at":"2025-04-19T23:54:50.319Z","repository":{"id":245635293,"uuid":"818818772","full_name":"navidys/procsys","owner":"navidys","description":"Rust library to retrieve system, kernel, and process metrics from the pseudo-filesystems /proc and /sys.","archived":false,"fork":false,"pushed_at":"2025-01-05T10:18:42.000Z","size":207,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T23:54:45.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/navidys.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":"2024-06-23T00:50:33.000Z","updated_at":"2025-02-27T18:08:59.000Z","dependencies_parsed_at":"2024-06-29T09:42:17.949Z","dependency_job_id":"0c5ec9a2-feff-4e01-852e-4a0252c212b2","html_url":"https://github.com/navidys/procsys","commit_stats":null,"previous_names":["navidys/procsys"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navidys%2Fprocsys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navidys%2Fprocsys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navidys%2Fprocsys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navidys%2Fprocsys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navidys","download_url":"https://codeload.github.com/navidys/procsys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249830852,"owners_count":21331357,"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":[],"created_at":"2024-11-06T13:50:25.924Z","updated_at":"2025-04-19T23:54:50.313Z","avatar_url":"https://github.com/navidys.png","language":"Rust","readme":"# procsys\n\n[![][img_crates]][crates] [![][img_doc]][doc] [![][img_codecov]][codecov] ![img_test] [![][img_awesome]][awesome]\n\nRust library to retrieve system, kernel, and process metrics from the pseudo-filesystems /proc and /sys.\n\nSee the docs for more information about supported features, or view the [features.md](https://github.com/navidys/procsys/blob/main/FEATURES.md) file of the project repository.\n\n## Examples\n\nThere are several examples in the documents and also in the [examples](https://github.com/navidys/procsys/tree/main/examples) directory of project repository.\n\n\n```\nuse procsys::sysfs::class_watchdog;\n\nlet watchdog_devices = class_watchdog::collect().expect(\"watchdog information\");\n\nfor wdev in \u0026watchdog_devices {\n    println!(\"name: {}\", wdev.name);\n    println!(\"boot status: {}\", wdev.boot_status.unwrap_or_default());\n    println!(\"timeout: {}\", wdev.timeout.unwrap_or_default());\n    println!(\"min_timeout: {}\", wdev.min_timeout.unwrap_or_default());\n    println!(\"max_timeout: {}\", wdev.max_timeout.unwrap_or_default());\n}\n\n// print all watchdog devices information in json output\nmatch serde_json::to_string_pretty(\u0026watchdog_devices) {\n    Ok(output) =\u003e println!(\"{}\", output),\n    Err(err) =\u003e {\n        log::error!(\"{}\", err);\n        std::process::exit(1);\n    }\n}\n```\n\n## License\n\nLicensed under the [MIT License](https://github.com/navidys/procsys/blob/main/LICENSE).\n\n[img_crates]: https://img.shields.io/crates/v/procsys.svg\n[img_doc]: https://img.shields.io/badge/rust-documentation-blue.svg\n[img_codecov]: https://codecov.io/gh/navidys/procsys/branch/main/graph/badge.svg\n[img_test]: https://github.com/navidys/procsys/workflows/validation/badge.svg\n[img_awesome]: https://awesome.re/mentioned-badge.svg\n\n[crates]: https://crates.io/crates/procsys\n[doc]: https://docs.rs/procsys/\n[codecov]: https://codecov.io/gh/navidys/procsys\n[awesome]: https://github.com/rust-unofficial/awesome-rust/\n","funding_links":[],"categories":["Libraries"],"sub_categories":["System"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavidys%2Fprocsys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavidys%2Fprocsys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavidys%2Fprocsys/lists"}