{"id":36648195,"url":"https://github.com/spring1843/weight","last_synced_at":"2026-01-12T10:02:52.327Z","repository":{"id":280744606,"uuid":"941674327","full_name":"spring1843/weight","owner":"spring1843","description":"Adds weight on system resources","archived":false,"fork":false,"pushed_at":"2025-03-05T03:57:44.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T04:40:40.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/spring1843.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":"2025-03-02T20:44:27.000Z","updated_at":"2025-03-05T03:55:54.000Z","dependencies_parsed_at":"2025-03-05T04:40:43.016Z","dependency_job_id":"c0f7df52-6cf5-4430-8662-84d7b1b8d889","html_url":"https://github.com/spring1843/weight","commit_stats":null,"previous_names":["spring1843/weight"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/spring1843/weight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring1843%2Fweight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring1843%2Fweight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring1843%2Fweight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring1843%2Fweight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring1843","download_url":"https://codeload.github.com/spring1843/weight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring1843%2Fweight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337871,"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":[],"created_at":"2026-01-12T10:02:52.251Z","updated_at":"2026-01-12T10:02:52.312Z","avatar_url":"https://github.com/spring1843.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weight\n\nPuts weight on system resources such as memory and soon CPU and disk.\n\nThis can be used for testing and troubleshooting purposes. For example it can be used to see if a computer can handle a given amount of memory usage or if a cluster scales up based on CPU usage.\n\n## Usage\n\nYou can use the `-h` or `--help` switch to get a list of all available sub-commands and arguments.\n\nWrite 1GB of data in memory and wait for 10 seconds before exiting\n```shell\nweight --memory 1GB --wait 10\n```\n\n```\nWriting 1GB of memory...\nContinuously modifying 1GB = 1073741824B of memory.\nWaiting for 10 seconds before exiting.\nExiting after waiting for 10 seconds.\n```\n\n![Activity Monitor on OSX](assets/activity-monitor-osx.png)\n\n## Todo\n\n* Support putting weight on CPU\n* Support putting weight on disk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring1843%2Fweight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring1843%2Fweight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring1843%2Fweight/lists"}