a CLI tool (like supervisor and pm2) keep a group of programs running continuously.
git clone https://github.com/nladuo/KB-PM.git
cd KB-PM/build
cmake . # generate Makefile by cmake
make && sudo make install
kbpm service start # start the KB_PM service
chmod +x ../test/test.sh # make test.sh executeable
kbpm start ../test/test.sh # execute test.sh, use absolute path or relative path
tail -f test.log # check out the stdout of test.sh
KB_PM use syslog for logging, you can check the log at /var/log/syslog(for ubuntu) or /var/log/messages(for centos).
- 1. stop all the child processes when stopping an app.
- 2. add the log of every app.
- 3. more specifically show the memory detail.
MIT