All Projects â†’ padosoft â†’ kill-process

padosoft / kill-process

Licence: MIT License
Bash script to kill high CPU process, long running process and too much consuming memory process.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to kill-process

Heim
Cross-platform async library for system information fetching 🦀
Stars: ✭ 572 (+886.21%)
Mutual labels:  cpu, process
Sympact
🔥 Stupid Simple CPU/MEM "Profiler" for your JS code.
Stars: ✭ 439 (+656.9%)
Mutual labels:  cpu, process
Fkill Cli
Fabulously kill processes. Cross-platform.
Stars: ✭ 6,418 (+10965.52%)
Mutual labels:  process, kill
doc
Get usage and health data about your Node.js process.
Stars: ✭ 17 (-70.69%)
Mutual labels:  cpu, process
nativescript-performance-monitor
âš¡ Proof your app maintains 60-ish FPS by collecting data or showing it on screen with this NativeScript plugin!
Stars: ✭ 21 (-63.79%)
Mutual labels:  cpu
tracer
Renderer using C++, Embree and USD to achieve Path Tracing techniques on the CPU
Stars: ✭ 40 (-31.03%)
Mutual labels:  cpu
vrcpu
Code, documentation, schematics, notes for my Ben Eater inspired breadboard computer and emulator
Stars: ✭ 98 (+68.97%)
Mutual labels:  cpu
unshare
The low-level linux containers creation library for rust
Stars: ✭ 99 (+70.69%)
Mutual labels:  process
windows-process-monitor
A demo solution to illustrate approaches on getting information about processes and block/allow their start
Stars: ✭ 89 (+53.45%)
Mutual labels:  process-monitor
peakperf
Achieve peak performance on x86 CPUs and NVIDIA GPUs
Stars: ✭ 33 (-43.1%)
Mutual labels:  cpu
uC-CPU
Designed with Micriμm's renowned quality, scalability and reliability, the purpose of μC/ CPU is to provide a clean, organized ANSI C implementation of each processor's/compiler's hardware-dependent.
Stars: ✭ 31 (-46.55%)
Mutual labels:  cpu
jellex
TUI to filter JSON and JSON Lines data with Python syntax
Stars: ✭ 41 (-29.31%)
Mutual labels:  process
Computer-Architecture-Task-2
Riscv32 CPU Project
Stars: ✭ 43 (-25.86%)
Mutual labels:  cpu
c2clat
A tool to measure CPU core to core latency
Stars: ✭ 37 (-36.21%)
Mutual labels:  cpu
proc-maps
Read virtual memory maps from another process
Stars: ✭ 25 (-56.9%)
Mutual labels:  process
ncnn-android-squeezenet
The squeezenet image classification android example
Stars: ✭ 100 (+72.41%)
Mutual labels:  cpu
Sensors
A macOS application displaying the thermal, voltage and current sensor values.
Stars: ✭ 70 (+20.69%)
Mutual labels:  cpu
prox
A Scala library for working with system processes
Stars: ✭ 93 (+60.34%)
Mutual labels:  process
Z80
Highly portable Zilog Z80 CPU emulator written in ANSI C
Stars: ✭ 131 (+125.86%)
Mutual labels:  cpu
CPU-MEM-monitor
A simple script to log Linux CPU and memory usage (using top or pidstat command) over time and output an Excel- or OpenOfficeCalc-friendly report
Stars: ✭ 41 (-29.31%)
Mutual labels:  cpu

kill-process

Bash script to kill high CPU process, long running process and too much consuming memory process.

Software License

Table of Contents

Prerequisites

bash

Install

This package can be installed easy.

cd /root/myscript
git clone https://github.com/padosoft/kill-process.git
cd kill-process
chmod +x killprocess.sh

If 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:

cp /root/myscript/kill-process/killprocess.config.template /root/myscript/kill-process/killprocess.config 

nano /root/myscript/kill-process/killprocess.config

If you want to run programmatically, add it to cronjobs manually or execute install script:

cd /root/myscript/kill-process
chmod +x install.sh
bash install.sh

Usage

bash killprocess.sh [dry|kill|--help] [top|ps] [cpu|time|mem]

Example

bash killprocess.sh dry
bash killprocess.sh dry top
bash killprocess.sh kill top cpu
bash killprocess.sh dry ps mem
bash killprocess.sh kill ps mem

For help:

bash killprocess.sh 
bash killprocess.sh --help

Screenshots

Here is a screenshot with command kill

demo

Here is a screenshot with command dry (dry run and not kill)

demo

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Credits

About Padosoft

Padosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites.

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].