Skip to content

Shell(.sh) script to check memory usage, cpu usage and to kill the process once it uses more than the specified value.

License

Notifications You must be signed in to change notification settings

jilvin/mem_cpu_check_kill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mem_cpu_check_kill

Shell(.sh) script to check memory usage, cpu usage and to kill the process once it uses more than the specified value.

Documentation:

1) Working

See mem_cpu_check_kill.pdf for how the script was derived or coded. It will help you to understand the working of the script easily.

mem_cpu_check_kill.tex was used for compiling the .pdf file. If you suggest any change in .pdf, do it in .tex and push the commit.

Note:

The script is a basic implementation. It does not check or take into consideration child processes in calculation. If you are looking for an advanced implementation you might want to checkout https://github.com/padosoft/kill-process

About

Shell(.sh) script to check memory usage, cpu usage and to kill the process once it uses more than the specified value.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published