I’m not sure if this is something that anybody here will find useful, but I decided to post it anyway.
I created a simple tool called
gobeat which is located here: https://github.com/radovskyb/gobeat.
It’s basically a simple health check monitor, command automation tool and process restarter which works based on a process’s pid (which can be found using a
ps call in the terminal).
I haven’t tested it anywhere except on my MacBook Pro and I’m not sure how portable it is on other unix devices (definitely not for Windows) since it uses system calls and programs such as
ps and also some
Either way, I find it useful so maybe somebody else will get some benefit from it.
The code is a bit sloppy but it gets the job done for me