{"id":21940749,"url":"https://github.com/garno/fivesystem","last_synced_at":"2026-05-05T03:36:50.688Z","repository":{"id":7517245,"uuid":"8867805","full_name":"garno/FiveSystem","owner":"garno","description":"Unix toolbox for retrieving system information.","archived":false,"fork":false,"pushed_at":"2013-03-19T00:56:21.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T11:57:58.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-19T00:55:32.000Z","updated_at":"2014-03-26T17:12:10.000Z","dependencies_parsed_at":"2022-09-23T21:41:10.351Z","dependency_job_id":null,"html_url":"https://github.com/garno/FiveSystem","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/garno%2FFiveSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2FFiveSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2FFiveSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garno%2FFiveSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garno","download_url":"https://codeload.github.com/garno/FiveSystem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973754,"owners_count":20541024,"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":[],"created_at":"2024-11-29T02:36:23.859Z","updated_at":"2026-05-05T03:36:50.657Z","avatar_url":"https://github.com/garno.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FiveSystem\nUnix toolbox for system information written in Ruby.\n\n* Load Average\n* Hostname\n* Uptime (Mac only)\n* Disk Usage (Mac only)\n* Process: Launch date, CPU \u0026 memory usage\n\n### What's up with that name?\n\nYup, its lame but this library is an expirement so.. no fancy name needed.\n\n*Again, this is an expirement, it should not be used in production.*\n\n## Usage\n\n#### Load Average\n\n    FiveSystem::LoadAverage.get # =\u003e [0.32, 0.40, 0.28]\n\n#### Hostname\n\n    FiveSystem::Hostname.get # =\u003e \"fivecandles-lb-1\"\n\n#### Uptime\n\n    FiveSystem::Uptime.days        # =\u003e 34\n    FiveSystem::Uptime.hours       # =\u003e 831\n    FiveSystem::Uptime.minutes     # =\u003e 49879\n    FiveSystem::Uptime.seconds     # =\u003e 2992727\n    FiveSystem::Uptime.last_reboot # =\u003e Sun, 26 Feb 2012 12:19:50 +0000\n\n#### Disk usage\n\n    FCSystem::Disk.at('/').size # =\u003e 423903064\n    FCSystem::Disk.at('/').used # =\u003e 373156760\n    FCSystem::Disk.at('/').free # =\u003e 50234304\n\nConvert to human readable number using the `number_to_human_size` method available in [ActionView](http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#method-i-number_to_human_size).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarno%2Ffivesystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarno%2Ffivesystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarno%2Ffivesystem/lists"}