All processes on Linux require RAM and CPU cycles, which can lead to competition for these resources. Tools like free, top, and htop help identify memory hogs and high CPU usage. Use commands like ps ...
I'd like to kill a process in a bash script and wait for it to die before proceeding. The easiest and most reliable way to identify the process is by the command line arguments passed to it. Thus I ...
I'd obviously need to allow users to specify what signal to use in the kill command. Not doing that would be downright incompetent of me, and its just a few extra lines. Also I used pod2usage to print ...