{"id":19030102,"url":"https://github.com/padosoft/kill-process","last_synced_at":"2025-07-10T22:41:20.655Z","repository":{"id":53132501,"uuid":"60365592","full_name":"padosoft/kill-process","owner":"padosoft","description":"Bash script to kill high CPU process, long running process and too much consuming memory process. ","archived":false,"fork":false,"pushed_at":"2023-01-12T02:26:15.000Z","size":45,"stargazers_count":70,"open_issues_count":4,"forks_count":35,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-18T01:47:32.528Z","etag":null,"topics":["bash","cpu","kill","process","process-monitor"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/padosoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-03T17:27:45.000Z","updated_at":"2025-02-14T09:53:47.000Z","dependencies_parsed_at":"2023-02-09T09:46:12.323Z","dependency_job_id":null,"html_url":"https://github.com/padosoft/kill-process","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/padosoft%2Fkill-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fkill-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fkill-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fkill-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padosoft","download_url":"https://codeload.github.com/padosoft/kill-process/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468272,"owners_count":21435451,"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":["bash","cpu","kill","process","process-monitor"],"created_at":"2024-11-08T21:16:32.621Z","updated_at":"2025-04-23T16:01:28.253Z","avatar_url":"https://github.com/padosoft.png","language":"Shell","readme":"\r\n# kill-process\r\nBash script to kill high CPU process, long running process and too much consuming memory process. \r\n\r\n[![Software License][ico-license]](LICENSE.md)\r\n\r\nTable of Contents\r\n=================\r\n\r\n  * [kill-process](#kill-process)\r\n  * [Table of Contents](#table-of-contents)\r\n  * [Prerequisites](#prerequisites)\r\n  * [Install](#install)\r\n  * [Usage](#usage)\r\n  * [Example](#example)\r\n  * [Screenshots](#screenshots)\r\n  * [Contributing](#contributing)\r\n  * [Credits](#credits)\r\n  * [About Padosoft](#about-padosoft)\r\n  * [License](#license)\r\n\r\n# Prerequisites\r\n\r\nbash\r\n\r\n# Install\r\n\r\nThis package can be installed easy.\r\n\r\n``` bash\r\ncd /root/myscript\r\ngit clone https://github.com/padosoft/kill-process.git\r\ncd kill-process\r\nchmod +x killprocess.sh\r\n```\r\n\r\nIf you want to set your value and override default var values create a killprocess.config file by coping the given template killprocess.config.template, open in your favorite editor and make changes:\r\n\r\n``` bash\r\ncp /root/myscript/kill-process/killprocess.config.template /root/myscript/kill-process/killprocess.config \r\n\r\nnano /root/myscript/kill-process/killprocess.config\r\n```\r\n\r\nIf you want to run programmatically, add it to cronjobs manually or execute install script:\r\n\r\n``` bash\r\ncd /root/myscript/kill-process\r\nchmod +x install.sh\r\nbash install.sh\r\n```\r\n\r\n\r\n# Usage\r\n``` bash\r\nbash killprocess.sh [dry|kill|--help] [top|ps] [cpu|time|mem]\r\n```\r\n\r\n## Example\r\n``` bash\r\nbash killprocess.sh dry\r\nbash killprocess.sh dry top\r\nbash killprocess.sh kill top cpu\r\nbash killprocess.sh dry ps mem\r\nbash killprocess.sh kill ps mem\r\n```\r\nFor help:\r\n``` bash\r\nbash killprocess.sh \r\nbash killprocess.sh --help\r\n```\r\n\r\n# Screenshots\r\n\r\nHere is a screenshot with command kill\r\n\r\n![demo](https://raw.githubusercontent.com/padosoft/kill-process/master/resources/img/screen1.png)\r\n\r\nHere is a screenshot with command dry (dry run and not kill)\r\n\r\n![demo](https://raw.githubusercontent.com/padosoft/kill-process/master/resources/img/screen2.png)\r\n\r\n# Contributing\r\n\r\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.\r\n\r\n\r\n# Credits\r\n\r\n- [Lorenzo Padovani](https://github.com/lopadova)\r\n- [Padosoft](https://github.com/padosoft)\r\n- [All Contributors](../../contributors)\r\n\r\n# About Padosoft\r\nPadosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites.\r\n\r\n# License\r\n\r\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\r\n\r\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Fkill-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadosoft%2Fkill-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Fkill-process/lists"}