{"id":15176443,"url":"https://github.com/techgaun/ex_erlstats","last_synced_at":"2026-03-06T20:31:52.352Z","repository":{"id":62429096,"uuid":"64872498","full_name":"techgaun/ex_erlstats","owner":"techgaun","description":"Erlang Stats for Elixir","archived":false,"fork":false,"pushed_at":"2021-10-26T21:33:25.000Z","size":61,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T10:39:58.104Z","etag":null,"topics":["elixir","erlang","statistics"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.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}},"created_at":"2016-08-03T19:11:44.000Z","updated_at":"2021-10-26T21:33:28.000Z","dependencies_parsed_at":"2022-11-01T20:07:17.043Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/ex_erlstats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techgaun/ex_erlstats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_erlstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_erlstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_erlstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_erlstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/ex_erlstats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fex_erlstats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30196173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["elixir","erlang","statistics"],"created_at":"2024-09-27T13:04:14.003Z","updated_at":"2026-03-06T20:31:52.316Z","avatar_url":"https://github.com/techgaun.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExErlstats [![Hex version](https://img.shields.io/hexpm/v/ex_erlstats.svg \"Hex version\")](https://hex.pm/packages/ex_erlstats) ![Hex downloads](https://img.shields.io/hexpm/dt/ex_erlstats.svg \"Hex downloads\")\n\n\u003e Get statistics about Erlang VM\n\n![How It Looks Like](images/erlstats.gif)\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed as:\n\n  1. Add `ex_erlstats` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [{:ex_erlstats, \"~\u003e 0.1.1\"}]\n    end\n    ```\n\n  2. Ensure `ex_erlstats` is started before your application:\n\n    ```elixir\n    def application do\n      [applications: [:ex_erlstats]]\n    end\n    ```\n\n## Examples\n\nYou can get information about\n- memory such as total allocated memory, total amount of memory allocated for atoms, etc.\n- system such as port limits, current port counts, processes counts, etc.\n- erlang statistics such as total run queue length, total active tasks, etc.\n\n```shell\n\u003e ExErlstats.get_all\n%{memory: %{atom: 388625, atom_used: 365825, binary: 49296, code: 9059496,\n    ets: 573344, processes: 6593256, processes_used: 6592272, system: 15867984,\n    total: 22461240},\n  stats: %{run_queue: 0, run_queue_lengths: [0, 0, 0, 0],\n    scheduler_wall_time: :undefined, total_active_tasks: 1,\n    total_run_queue_lengths: 0},\n  system: %{check_io: [name: :erts_poll, primary: :poll, fallback: false,\n     kernel_poll: false, memory_size: 66200, total_poll_set_size: 3,\n     lazy_updates: true, pending_updates: 0, batch_updates: false,\n     concurrent_updates: false, max_fds: 1024, active_fds: 0],\n    otp_release: \"19\", port_count: 5, port_limit: 65536, process_count: 49,\n    process_limit: 262144, schedulers: 4, schedulers_online: 4, version: \"8.0\"}}\n\n\u003e ExErlstats.stats                     \n%{run_queue: 0, run_queue_lengths: [0, 0, 0, 0],\n  scheduler_wall_time: :undefined, total_active_tasks: 1,\n  total_run_queue_lengths: 0}\n\n\u003e ExErlstats.stats[:total_active_tasks]\n1\n\n\u003e ExErlstats.system_info\n%{check_io: [name: :erts_poll, primary: :poll, fallback: false,\n   kernel_poll: false, memory_size: 66200, total_poll_set_size: 3,\n   lazy_updates: true, pending_updates: 0, batch_updates: false,\n   concurrent_updates: false, max_fds: 1024, active_fds: 0], otp_release: \"19\",\n  port_count: 5, port_limit: 65536, process_count: 49, process_limit: 262144,\n  schedulers: 4, schedulers_online: 4, version: \"8.0\"}\n\n\u003e ExErlstats.system_info[:port_count]\n5\n\n\u003e ExErlstats.memory                  \n%{atom: 388625, atom_used: 367118, binary: 170776, code: 9396647, ets: 598128,\n  processes: 6469296, processes_used: 6468312, system: 16370224,\n  total: 22839520}\n\n\u003e ExErlstats.memory[:total]\n22827520\n\n\u003e ExErlstats.processes\n[[memory: 21640, heap_size: 1598, total_heap_size: 2585, message_queue_len: 0,\nregistered_name: :init], ...]\n\n\u003e ExErlstats.processes(#PID\u003c0.0.0\u003e)\n[memory: 21640, heap_size: 1598, total_heap_size: 2585, message_queue_len: 0,\nregistered_name: :init]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fex_erlstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fex_erlstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fex_erlstats/lists"}