Skip to content

ymv/zhk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages