{"id":13741351,"url":"https://github.com/lpil/systemd_status","last_synced_at":"2026-04-07T18:31:09.746Z","repository":{"id":224963247,"uuid":"764744592","full_name":"lpil/systemd_status","owner":"lpil","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-29T10:01:32.000Z","size":10,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T12:22:12.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Gleam","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-02-28T16:25:04.000Z","updated_at":"2025-11-26T16:58:38.000Z","dependencies_parsed_at":"2024-11-21T12:41:26.732Z","dependency_job_id":null,"html_url":"https://github.com/lpil/systemd_status","commit_stats":null,"previous_names":["lpil/systemd_status"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lpil/systemd_status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Fsystemd_status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Fsystemd_status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Fsystemd_status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Fsystemd_status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpil","download_url":"https://codeload.github.com/lpil/systemd_status/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpil%2Fsystemd_status/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31524524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-03T04:00:58.166Z","updated_at":"2026-04-07T18:31:09.182Z","avatar_url":"https://github.com/lpil.png","language":"Gleam","funding_links":[],"categories":["Packages","Gleam"],"sub_categories":["Logging and Monitoring"],"readme":"# systemd_status\n\nInspect the status of running systemd units.\n\n[![Package Version](https://img.shields.io/hexpm/v/systemd_status)](https://hex.pm/packages/systemd_status)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/systemd_status/)\n\n```sh\ngleam add systemd_status\n```\n```gleam\nimport systemd_status\n\n// In this example we're also using the shellout package\nimport shellout\n\npub fn main() {\n  let #(command, arguments) = systemd_status.unit_property_list_command(\"my-service\")\n  let assert Ok(output) = shellout.command(command, arguments, in: \".\", opt: [])\n  let assert Ok(service) = systemd_status.parse_service(output)\n  service\n  // Service(\n  //   id: \"my-service.service\",\n  //   type_: SimpleService,\n  //   load_state: Loaded,\n  //   active_state: Active,\n  //   sub_state: \"running\",\n  //   result: \"success\",\n  //   main_pid: Some(3_764_255),\n  //   description: Some(\"Super cool important service\"),\n  //   state_change_timestamp: Some(\"Tue 2024-02-27 22:50:37 UTC\"),\n  //   active_enter_timestamp: Some(\"Tue 2024-02-27 22:50:37 UTC\"),\n  //   active_exit_timestamp: Some(\"Tue 2024-02-27 22:50:37 UTC\"),\n  //   inactive_enter_timestamp: Some(\"Tue 2024-02-27 22:50:37 UTC\"),\n  //   inactive_exit_timestamp: Some(\"Tue 2024-02-27 22:50:37 UTC\"),\n  // )\n}\n```\n\nFurther documentation can be found at \u003chttps://hexdocs.pm/systemd_status\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpil%2Fsystemd_status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpil%2Fsystemd_status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpil%2Fsystemd_status/lists"}