Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 404 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 404 Bytes

ZHK

Find processes, whose executable match regex and memory consumption is above threshold. Then SIGKILL them

See --help for options

Example

python zhk.py '.*zeit.*' -t 5 --daemon zhk.pid --log zhk.log

Why?

/usr/bin/zeitgeist-daemon sometimes decides to consume most of memory on my feeble machine. Making script to kill it was faster than finding why it does this.