KB-PM icon indicating copy to clipboard operation
KB-PM copied to clipboard

a CLI tool (like supervisor and pm2) keep a group of programs running continuously.

KB-PM

Build Status

a CLI tool (like supervisor and pm2) keep a group of programs running continuously.

Screenshot


Installation

git clone https://github.com/nladuo/KB-PM.git
cd KB-PM/build
cmake .                          # generate Makefile by cmake
make && sudo make install

Example

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

Log

KB_PM use syslog for logging, you can check the log at /var/log/syslog(for ubuntu) or /var/log/messages(for centos).

TODO

  • [x] 1. stop all the child processes when stopping an app.
  • [ ] 2. add the log of every app.
  • [ ] 3. more specifically show the memory detail.

License

MIT