{"id":16591752,"url":"https://github.com/nhh/cstat","last_synced_at":"2026-04-15T20:33:08.405Z","repository":{"id":121287279,"uuid":"262869702","full_name":"nhh/cstat","owner":"nhh","description":"Get machine readable statistics from your linux machine","archived":false,"fork":false,"pushed_at":"2022-12-08T10:23:41.000Z","size":8,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-08T08:06:39.802Z","etag":null,"topics":["csharp","linux","statistics"],"latest_commit_sha":null,"homepage":"","language":"C#","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/nhh.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,"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":"2020-05-10T20:28:13.000Z","updated_at":"2020-06-23T10:48:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f81ec72-4d9c-43f3-b2e6-91452d048476","html_url":"https://github.com/nhh/cstat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nhh/cstat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhh%2Fcstat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhh%2Fcstat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhh%2Fcstat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhh%2Fcstat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhh","download_url":"https://codeload.github.com/nhh/cstat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhh%2Fcstat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31859459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["csharp","linux","statistics"],"created_at":"2024-10-11T23:17:53.372Z","updated_at":"2026-04-15T20:33:08.399Z","avatar_url":"https://github.com/nhh.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cstat\n\nIs a tool to get the system stats in a parsable format.\nThe tool is part of the competition with [Augusto](https://github.com/hamburghammer).\n\nCheckout his solution: [gstat](https://github.com/hamburghammer/gstat)\n\n## Terms of the competition\n\n### Allgemein:\n\nName des Programms: \n    - cstat \n    - gstat\n\nDas Tool kann mehrere Metriken auf einmal zurückgeben.\n\n### Anforderung:\n\n    - Aktuelle CPU Auslastung\n    - Gesamtverbrauch aller CPU Kerne in %\n    - Die nach cpu sortierten Prozesse als Liste\n    - Aktueller Speicherplatzverbrauch\n        -used / free in megabyte\n    - Aktueller RAM Verbrauch\n        - used / free in megabyte\n    - Healthchecks mit Latency\n        - http / https / *ICMP*\n        - GET /\n    - *Aktueller Network IO (optional)*\n    - *Disk IO (optional)*\n    - JSON Output\n    - Datum und Uhrzeit im ISO Format\n\n### Kriterien:\n\n    - Single Executable\n    - Linux\n\n### Bewertungs:\n\n1. Wie groß ist das Binary\n2. Performance von Befehlen\n3. Cpu Auslastung\n4. Ram Auslastung\n\n### Kommandozeilenaufrufe:\n\nAlphabetische Reihenfolge\n\n-c -h -d // --healtheck=http://example.com --disk --format=json\n\n[https://de.wikipedia.org/wiki/Uniform_Resource_Identifier](https://de.wikipedia.org/wiki/Uniform_Resource_Identifier)\n\n`$ cstat/gstat --cpu --format=json`\n`$ cstat/gstat --metric=disk`\n`$ cstat/gstat --check`\n\n#### Goals:\n\ncstat/gstat -c -d -i -h https://my-server.com \u003e log.json\n\ncurl -X POST -d $(cstat/gstat -c -d -i -h https://my-server.com) https://my-logging.com/logs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhh%2Fcstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhh%2Fcstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhh%2Fcstat/lists"}