{"id":15767312,"url":"https://github.com/lmangani/ppsguard","last_synced_at":"2025-03-31T11:10:47.911Z","repository":{"id":57329241,"uuid":"115831753","full_name":"lmangani/ppsGuard","owner":"lmangani","description":"Barebone PPS/CPU Rate Watcher :eyes:","archived":false,"fork":false,"pushed_at":"2018-01-09T14:25:41.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-04T13:22:00.662Z","etag":null,"topics":["beat","packets-per-second","pastash","pps"],"latest_commit_sha":null,"homepage":"http://qxip.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmangani.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}},"created_at":"2017-12-30T23:47:57.000Z","updated_at":"2019-08-12T10:55:23.000Z","dependencies_parsed_at":"2022-09-11T08:50:28.747Z","dependency_job_id":null,"html_url":"https://github.com/lmangani/ppsGuard","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/lmangani%2FppsGuard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2FppsGuard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2FppsGuard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2FppsGuard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmangani","download_url":"https://codeload.github.com/lmangani/ppsGuard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458000,"owners_count":20780677,"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":["beat","packets-per-second","pastash","pps"],"created_at":"2024-10-04T13:21:36.977Z","updated_at":"2025-03-31T11:10:47.895Z","avatar_url":"https://github.com/lmangani.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ppsGuard\nBarebone PPS/CPU Rate Watcher for console and UDP loggers. Useful for measuring bottlenecking events into [paStash](https://github.com/sipcapture/pastash) or other tools.\n\n### Install\n```\nsudo npm install -g ppsguard\n```\n\n### Usage\n```\nppsguard --max_pps=300 --max_cpu=3\n```\n\n### Usage w/ limited UDP output\n```\nppsguard --max_pps=300 --max_cpu=3 --limit_amount=1 --limit_every 'minute' --udp 127.0.0.1:1234\n```\n\n#### Output\n```\n2017-12-31T00:29:13.405Z 'WARNING!' 'PPS:' 1493.2018766312679 'CPU:' 2.55712890625\n2017-12-31T00:29:33.439Z 'WARNING!' 'PPS:' 1374.6596774790248 'CPU:' 1.89306640625\n2017-12-31T00:29:43.454Z 'WARNING!' 'PPS:' 349.478350046417 'CPU:' 1.67529296875\n```\n\n### Options\n* ``--interface``    : Ethernet Interface. _(default: eth0)_\n* ``--max_pps``      : PPS Current Treshold. _(default: 500)_\n* ``--max_mean``     : PPS Mean Treshold. _(default: 1000)_\n* ``--max_cpu``      : CPU Treshold, _(default: 2)_\n* ``--message``      : Warning Message _(default: \"WARNING!\")_\n* ``--json``         : Output raw JSON  _(default: false)_\n* ``--udp``          : Output to UDP socket, Example: 127.0.0.1:1234 _(default: false)_\n* ``--limit_amount`` : Allowed hits per interval, _(default: 1)_\n* ``--limit_every``  : Interval. Accepts 'second', 'minute', 'hour' or value in ms, _(default: 'second')_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmangani%2Fppsguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmangani%2Fppsguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmangani%2Fppsguard/lists"}