Skip to content
/ KB-PM Public

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

License

Notifications You must be signed in to change notification settings

nladuo/KB-PM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages