{"id":16341573,"url":"https://github.com/psibi/sysinfo","last_synced_at":"2025-03-20T23:31:48.461Z","repository":{"id":56879718,"uuid":"89539971","full_name":"psibi/sysinfo","owner":"psibi","description":"Haskell Interface for getting overall system statistics","archived":false,"fork":false,"pushed_at":"2019-02-08T02:22:29.000Z","size":26,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T06:20:59.952Z","etag":null,"topics":["ffi","haskell","linux"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psibi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-04-27T00:54:22.000Z","updated_at":"2020-09-04T09:51:33.000Z","dependencies_parsed_at":"2022-08-20T11:40:40.799Z","dependency_job_id":null,"html_url":"https://github.com/psibi/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/psibi%2Fsysinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2Fsysinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2Fsysinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2Fsysinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psibi","download_url":"https://codeload.github.com/psibi/sysinfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244092742,"owners_count":20396862,"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":["ffi","haskell","linux"],"created_at":"2024-10-10T23:59:47.790Z","updated_at":"2025-03-20T23:31:48.191Z","avatar_url":"https://github.com/psibi.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sysinfo\n\n[![Build Status](https://travis-ci.org/psibi/sysinfo.svg?branch=master)](https://travis-ci.org/psibi/sysinfo)\n\nHaskell interface for the `sysinfo` Linux system call. This can be used\nto get system statistics like uptime, free memory, system load etc.\n\nNote that the package works *only* on Linux system with kernel\nversion \u003e= 2.3.23 and uses FFI calls.\n\n## Usage\n\n``` haskell\nλ\u003e import System.SysInfo\nλ\u003e val \u003c- sysInfo\nλ\u003e either (\\_ -\u003e \"sysinfo failed\") show val\n\"SysInfo {uptime = 121149, loads = Loads {sloads = [91200,80736,82592]}, totalram = 12286611456, freeram = 967655424, sharedram = 63033344, bufferram = 838983680, totalswap = 8261726208, freeswap = 8259276800, procs = 418, totalhigh = 0, freehigh = 0, memUnit = 1}\"\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsibi%2Fsysinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsibi%2Fsysinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsibi%2Fsysinfo/lists"}