{"id":22275852,"url":"https://github.com/zigzagak/ngx_sysinfo","last_synced_at":"2026-05-02T14:40:07.757Z","repository":{"id":148036411,"uuid":"79850472","full_name":"ZigzagAK/ngx_sysinfo","owner":"ZigzagAK","description":"Get informations about nginx internals","archived":false,"fork":false,"pushed_at":"2017-12-14T11:45:18.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T15:23:10.938Z","etag":null,"topics":["nginx","nginx-memory","nginx-shared-memory"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZigzagAK.png","metadata":{"files":{"readme":"README.markdown","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":"2017-01-23T21:33:15.000Z","updated_at":"2019-03-20T03:22:31.000Z","dependencies_parsed_at":"2023-05-28T06:45:23.166Z","dependency_job_id":null,"html_url":"https://github.com/ZigzagAK/ngx_sysinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigzagAK%2Fngx_sysinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigzagAK%2Fngx_sysinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigzagAK%2Fngx_sysinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigzagAK%2Fngx_sysinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZigzagAK","download_url":"https://codeload.github.com/ZigzagAK/ngx_sysinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245509324,"owners_count":20626963,"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":["nginx","nginx-memory","nginx-shared-memory"],"created_at":"2024-12-03T14:12:38.388Z","updated_at":"2026-05-02T14:40:02.717Z","avatar_url":"https://github.com/ZigzagAK.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Name\n====\n\nngx_sysinfo - get information about nginx internals.\n\nBuild status\n============\n[![Build Status](https://travis-ci.org/ZigzagAK/ngx_sysinfo.svg)](https://travis-ci.org/ZigzagAK/ngx_sysinfo)\n\nTable of Contents\n=================\n\n* [Name](#name)\n* [Status](#status)\n* [Synopsis](#synopsis)\n* [Description](#description)\n* [Configuration directives](#configuration-directives)\n\nStatus\n======\n\nThis library is still under early development.\n\nDescription\n===========\n\nVarious information about nginx internals.\n\nCurrently contains information about shared memory usage (pages and slab).\n\n[Back to TOC](#table-of-contents)\n\nSynopsis\n========\n\n```nginx\nhttp {\n  server {\n    listen 5555;\n\n    location = /sysinfo {\n      sysinfo;\n    }\n  }\n\n  upstream test1 {\n    zone shm_test1 128k;\n    server 0.0.0.0;\n  }\n\n  upstream test2 {\n    zone shm_test2 128k;\n    server 0.0.0.0;\n  }\n}\n```\n\nOutput\n------\n```\n{\n    \"shared_memory\": [\n        {\n            \"free_pages\": 28,\n            \"name\": \"shm_test1\",\n            \"pages\": 31,\n            \"slab\": [\n                {\n                    \"fails\": 0,\n                    \"size\": 8,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 16,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 32,\n                    \"total\": 4064,\n                    \"used\": 32\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 64,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 128,\n                    \"total\": 4096,\n                    \"used\": 128\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 256,\n                    \"total\": 4096,\n                    \"used\": 256\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 512,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 1024,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 2048,\n                    \"total\": 0,\n                    \"used\": 0\n                }\n            ],\n            \"summary\": {\n                \"total\": 126976,\n                \"used\": 416\n            },\n            \"used\": \"9%\"\n        },\n        {\n            \"free_pages\": 28,\n            \"name\": \"shm_test2\",\n            \"pages\": 31,\n            \"slab\": [\n                {\n                    \"fails\": 0,\n                    \"size\": 8,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 16,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 32,\n                    \"total\": 4064,\n                    \"used\": 32\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 64,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 128,\n                    \"total\": 4096,\n                    \"used\": 128\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 256,\n                    \"total\": 4096,\n                    \"used\": 256\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 512,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 1024,\n                    \"total\": 0,\n                    \"used\": 0\n                },\n                {\n                    \"fails\": 0,\n                    \"size\": 2048,\n                    \"total\": 0,\n                    \"used\": 0\n                }\n            ],\n            \"summary\": {\n                \"total\": 126976,\n                \"used\": 416\n            },\n            \"used\": \"9%\"\n        }\n    ]\n}\n```\n\n[Back to TOC](#table-of-contents)\n\nConfiguration directives\n========================\n\nsysinfo\n-------\n* **syntax**: `sysinfo`\n* **context**: `location`\n\nRegister content handler.\n\n[Back to TOC](#table-of-contents)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigzagak%2Fngx_sysinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigzagak%2Fngx_sysinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigzagak%2Fngx_sysinfo/lists"}