{"id":36595531,"url":"https://github.com/kamilszewc/resourcewatcher","last_synced_at":"2026-01-12T08:28:19.099Z","repository":{"id":54645957,"uuid":"336336040","full_name":"kamilszewc/resourcewatcher","owner":"kamilszewc","description":"Simple to use JVM library for watching Linux/Windows/Mac resources like memory, disk space, etc.","archived":false,"fork":false,"pushed_at":"2025-03-15T20:51:29.000Z","size":488,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T21:34:21.028Z","etag":null,"topics":["hardware","java","jvm","linux","macos","resources","windows"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kamilszewc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-02-05T17:04:57.000Z","updated_at":"2025-03-15T20:51:25.000Z","dependencies_parsed_at":"2023-11-28T14:28:55.698Z","dependency_job_id":"d8a850ec-f0df-4559-afbb-fa6d79807bae","html_url":"https://github.com/kamilszewc/resourcewatcher","commit_stats":null,"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/kamilszewc/resourcewatcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamilszewc%2Fresourcewatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamilszewc%2Fresourcewatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamilszewc%2Fresourcewatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamilszewc%2Fresourcewatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamilszewc","download_url":"https://codeload.github.com/kamilszewc/resourcewatcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamilszewc%2Fresourcewatcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","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":["hardware","java","jvm","linux","macos","resources","windows"],"created_at":"2026-01-12T08:28:19.023Z","updated_at":"2026-01-12T08:28:19.093Z","avatar_url":"https://github.com/kamilszewc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Resource Watcher\n\n## General\n\nSimple to use JVM library for watching linux/windows/mac resources like cpu-usage, memory, disk space, etc.\n\nThe library is written in Java and tested with Spock framework.\n\nIt was tested with:\n- Ubuntu 18.04, 20.04, 22.04, 22.10, 23.04, 23.10, 24.04\n- Debian 12, 13\n- OpenSUSE 15\n- Fedora 37\n- MacOS 12, 13, 14\n- Windows 10, 11\n\n## Installation\n\nThe compiled libraries are deployed to Maven Central.\n\nUsage with maven:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.kamilszewc\u003c/groupId\u003e\n    \u003cartifactId\u003eresourcewatcher\u003c/artifactId\u003e\n    \u003cversion\u003e5.16\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nUsage with gradle:\n\n```groovy\nimplementation 'io.github.kamilszewc:resourcewatcher:5.16'\n```\n\n## Usage\n\nExample in Java:\n\n```java\n    ResourceWatcher resourceWatcher = ResourceWatcherFactory.create();\n    DiskWatcher diskWatcher = resourceWatcher.getDiskWatcher();\n    Memory memory = diskWatcher.getFreePartitionSpace(\"/\");\n    Long sizeInMB = memory.MB();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamilszewc%2Fresourcewatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamilszewc%2Fresourcewatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamilszewc%2Fresourcewatcher/lists"}