{"id":39965075,"url":"https://github.com/qoretechnologies/module-sysconf","last_synced_at":"2026-01-18T21:35:20.929Z","repository":{"id":35179226,"uuid":"39436802","full_name":"qoretechnologies/module-sysconf","owner":"qoretechnologies","description":"Qore sysconf module","archived":false,"fork":false,"pushed_at":"2026-01-02T10:02:00.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"develop","last_synced_at":"2026-01-08T10:06:06.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qoretechnologies.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-07-21T09:32:21.000Z","updated_at":"2026-01-02T10:02:03.000Z","dependencies_parsed_at":"2023-01-15T15:29:14.910Z","dependency_job_id":null,"html_url":"https://github.com/qoretechnologies/module-sysconf","commit_stats":null,"previous_names":["qoretechnologies/module-sysconf"],"tags_count":68,"template":false,"template_full_name":null,"purl":"pkg:github/qoretechnologies/module-sysconf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-sysconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-sysconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-sysconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-sysconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qoretechnologies","download_url":"https://codeload.github.com/qoretechnologies/module-sysconf/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoretechnologies%2Fmodule-sysconf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28551202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"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":"2026-01-18T21:35:20.875Z","updated_at":"2026-01-18T21:35:20.921Z","avatar_url":"https://github.com/qoretechnologies.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"Qore sysconf Module\n===================\n\nThe sysconf module provides Qore with access to runtime system configuration\ninformation from the underlying operating system. The functionality wraps\nstandard C library system configuration functions.\n\nFunctions provided:\n- sysconf(): Get system-wide runtime parameters (CPU count, memory limits, etc.)\n- confstr(): Get string-valued configuration parameters (paths, versions, etc.)\n- pathconf(): Query file system limits for specific paths\n\nQuick Start\n-----------\n\n    %requires sysconf\n\n    # Get the number of online CPUs\n    printf(\"CPUs online: %d\\n\", sysconf(Sysconf::SC_NPROCESSORS_ONLN));\n\n    # Get system page size\n    printf(\"Page size: %d bytes\\n\", sysconf(Sysconf::SC_PAGESIZE));\n\n    # Get maximum filename length for a path\n    printf(\"Max filename length: %d\\n\", pathconf(\"/tmp\", Pathconf::PC_NAME_MAX));\n\n    # Get the default PATH\n    printf(\"Default PATH: %s\\n\", confstr(Confstr::CS_PATH));\n\nBuild Instructions\n------------------\n\nRequirements:\n - Qore 1.12.4+ development environment (lib and headers)\n - CMake 2.8.12+\n - C++11 compatible compiler\n - (optional) Doxygen for documentation\n\nUse \"out of source\" build:\n\n    mkdir build\n    cd build\n    cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ..\n    make\n    make install\n\nIf -DCMAKE_INSTALL_PREFIX is not specified, the Qore module directory is used.\n\nRunning Tests\n-------------\n\nAfter building:\n\n    cd build\n    make test\n\nOr run the test directly:\n\n    qore test/sysconf.qtest\n\nDocumentation\n-------------\n\nFull API documentation is generated with Doxygen:\n\n    cd build\n    make docs\n\nLicense\n-------\n\nThis module is released under the LGPL 2.1 license.\nSee the COPYING file for the full license text.\n\nRepository\n----------\n\nhttps://github.com/qoretechnologies/module-sysconf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoretechnologies%2Fmodule-sysconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqoretechnologies%2Fmodule-sysconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoretechnologies%2Fmodule-sysconf/lists"}