{"id":16315164,"url":"https://github.com/robrwo/linux-statm-tiny","last_synced_at":"2025-08-18T19:05:55.626Z","repository":{"id":24922916,"uuid":"28339960","full_name":"robrwo/Linux-Statm-Tiny","owner":"robrwo","description":"simple access to Linux /proc/../statm","archived":false,"fork":false,"pushed_at":"2025-04-02T23:59:01.000Z","size":134,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T09:43:29.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/robrwo.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-22T13:34:03.000Z","updated_at":"2025-04-02T22:19:59.000Z","dependencies_parsed_at":"2025-04-08T09:41:25.202Z","dependency_job_id":"b090ba2c-1dbb-43e5-9086-c8f37db6e393","html_url":"https://github.com/robrwo/Linux-Statm-Tiny","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/robrwo/Linux-Statm-Tiny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FLinux-Statm-Tiny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FLinux-Statm-Tiny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FLinux-Statm-Tiny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FLinux-Statm-Tiny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robrwo","download_url":"https://codeload.github.com/robrwo/Linux-Statm-Tiny/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robrwo%2FLinux-Statm-Tiny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271043547,"owners_count":24689774,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-10T21:56:23.404Z","updated_at":"2025-08-18T19:05:55.592Z","avatar_url":"https://github.com/robrwo.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nLinux::Statm::Tiny - simple access to Linux /proc/../statm\n\n# VERSION\n\nversion 0.0702\n\n# SYNOPSIS\n\n```perl\nuse Linux::Statm::Tiny;\n\nmy $stats = Linux::Statm::Tiny-\u003enew( pid =\u003e $$ );\n\nmy $size = $stats-\u003esize;\n```\n\n# DESCRIPTION\n\nThis class returns the Linux memory stats from `/proc/$pid/statm`.\n\n# ATTRIBUTES\n\n## `pid`\n\nThe PID to obtain stats for. If omitted, it uses the current PID from\n`$$`.\n\n## `page_size`\n\nThe page size.\n\n## `statm`\n\nThe raw array reference of values.\n\n## `size`\n\nTotal program size, in pages.\n\n## `vsz`\n\nAn alias for [\"size\"](#size).\n\n## `resident`\n\nResident set size (RSS), in pages.\n\n## `rss`\n\nAn alias for [\"resident\"](#resident).\n\n## `share`\n\nShared pages.\n\n## `text`\n\nText (code).\n\n## `lib`\n\nLibrary (unused in Linux 2.6).\n\n## `data`\n\nData + Stack.\n\n## `dt`\n\nDirty pages (unused in Linux 2.6).\n\n## Suffixes\n\nYou can append the \"\\_pages\" suffix to attributes to make it explicit\nthat the return value is in pages, e.g. `vsz_pages`.\n\nYou can also use the \"\\_bytes\", \"\\_kb\" or \"\\_mb\" suffixes to get the\nvalues in bytes, kilobytes or megabytes, e.g. `size_bytes`, `size_kb`\nand `size_mb`.\n\nThe fractional kilobyte and megabyte sizes will be rounded up, e.g.\nif the [\"size\"](#size) is 1.04 MB, then `size_mb` will return \"2\".\n\n# METHODS\n\n## `refresh`\n\nThe values do not change dynamically. If you need to refresh the\nvalues, then you you must either create a new instance of the object,\nor use the `refresh` method:\n\n```\n$stats-\u003erefresh;\n```\n\n# SEE ALSO\n\n[proc(5)](http://man.he.net/man5/proc).\n\n# SOURCE\n\nThe development version is on github at [https://github.com/robrwo/Linux-Statm-Tiny](https://github.com/robrwo/Linux-Statm-Tiny)\nand may be cloned from [git://github.com/robrwo/Linux-Statm-Tiny.git](git://github.com/robrwo/Linux-Statm-Tiny.git)\n\n# BUGS\n\nPlease report any bugs or feature requests on the bugtracker website\n[https://github.com/robrwo/Linux-Statm-Tiny/issues](https://github.com/robrwo/Linux-Statm-Tiny/issues)\n\nWhen submitting a bug or request, please include a test-file or a\npatch to an existing test-file that illustrates the bug or desired\nfeature.\n\n## Reporting Security Vulnerabilities\n\nSecurity issues should not be reported on the bugtracker website. Please see `SECURITY.md` for instructions how to\nreport security vulnerabilities\n\n# AUTHOR\n\nRobert Rothenberg \u003crrwo@cpan.org\u003e\n\nThe current maintainer is James Raspass \u003cjraspass@gmail.com\u003e.\n\n# CONTRIBUTORS\n\n- Adrian Lai \u003caidy@cpan.org\u003e\n- James Raspass \u003cjraspass@gmail.com\u003e\n- Karen Etheridge \u003cether@cpan.org\u003e\n- Mohammad S Anwar \u003cmohammad.anwar@yahoo.com\u003e\n- Toby Inkster \u003cgithub@toby.ink\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2015-2025 by Thermeon Worldwide, PLC.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrwo%2Flinux-statm-tiny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobrwo%2Flinux-statm-tiny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobrwo%2Flinux-statm-tiny/lists"}