{"id":16803478,"url":"https://github.com/sjmulder/flood","last_synced_at":"2025-09-23T17:32:04.575Z","repository":{"id":136506600,"uuid":"111160985","full_name":"sjmulder/flood","owner":"sjmulder","description":"Rapidly invoke (flood) a command.","archived":false,"fork":false,"pushed_at":"2018-12-06T12:02:32.000Z","size":26,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T23:37:30.754Z","etag":null,"topics":["loadtesting","system-utility","unix","utility"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjmulder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-11-17T23:39:33.000Z","updated_at":"2024-03-03T13:25:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbe925c4-a52e-499f-b97c-c32e22e094db","html_url":"https://github.com/sjmulder/flood","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sjmulder/flood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Fflood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Fflood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Fflood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Fflood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjmulder","download_url":"https://codeload.github.com/sjmulder/flood/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjmulder%2Fflood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276616772,"owners_count":25674146,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["loadtesting","system-utility","unix","utility"],"created_at":"2024-10-13T09:42:43.369Z","updated_at":"2025-09-23T17:32:04.524Z","avatar_url":"https://github.com/sjmulder.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"flood\n=====\n\nRapidly invoke (*flood*) a command.\n\n[![asciicast](https://asciinema.org/a/sriM9Wrp44rkzPsC7IRYsSBrA.png)](https://asciinema.org/a/sriM9Wrp44rkzPsC7IRYsSBrA)\n\n * Website: https://github.com/sjmulder/flood\n * Video: https://asciinema.org/a/sriM9Wrp44rkzPsC7IRYsSBrA\n * Homebrew tap (macOS): https://github.com/nickolasburr/homebrew-pfa\n\nUsage\n-----\n\n**flood** [**-d** *delay*] [**-j** *maxjobs*] [**-n** *count*] *command* [*argument* ...]\n\n**flood** repeatedly invokes a command with a short delay between invocations.\nIt does not wait for previous invocations to finish. Output is discarded,\nbut results are summarily reported using single characters:\n\n| Character | Meaning                                |\n|-----------|----------------------------------------|\n| `.`       | Command invoked                        |\n| `*`       | Command completed successfully         |\n| `!`       | Command completed with an error status |\n| `@`       | Error invoking the command             |\n\nA tally of the number of invocations, successes and failures is printed\nwhen the program terminates, by *SIGINT* (Ctrl+C) or otherwise, or when\nsent *SIGINFO* (Ctrl+T) on supported systems like BSD and macOS.\n\nThe name and inspiration come from the *ping(1)* **-f** option.\n\nThe following options are supported:\n\n**-d** *delay*\n\nMinimum delay between command executions, in miliseconds.\nDefaults to 100 (10 per second).\n\n**-j** *maxjobs*\n\nLimits the number of simultaneously running commands.  Once\nreached, flood waits for previously invoked commands to complete\nbefore starting a new one. Defaults to 0, which means no limit.\n\n**-n** *count*\n\nLimits the total number of command invocations.  Once reached,\nflood waits for all previously launched commands to complete,\nprints a tally, and exits. Defaults to 0, which means no limit.\n\nExamlpes\n--------\n\nFlood *example.com* with 100 requests using *curl(1)* then print a tally:\n\n    $ flood -n100 curl example.com\n\nRepeatedly run the *sleep(1)* utility as quickly as possible, but never\nhave more than 10 running at the same time:\n\n    $ flood -d0 -j10 sleep 1\n\nBuilding\n--------\n\nShould build without changes on Unix-like systems. If not, please file an\nissue on GitHub. To build:\n\n    make\n\nThere are *install* and *uninstall* targets, too. *PREFIX* is set to\n*/usr/local* by default.\n\nAuthor\n------\n\nBy Sijmen J. Mulder (\u003cik@sjmulder.nl\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjmulder%2Fflood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjmulder%2Fflood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjmulder%2Fflood/lists"}