Actual Result:
root@auto:/# gem install bluepill
Successfully installed bluepill-0.0.43
1 gem installed
Installing ri documentation for bluepill-0.0.43...
Installing RDoc documentation for bluepill-0.0.43...
root@auto:/# bluepill
bluepill: command not found
root@auto:/#
stdout:
gem install bluepill Successfully installed blankslate-2.1.2.3 Successfully installed state_machine-0.9.4 Successfully installed bluepill-0.0.43 3 gems installed Installing ri documentation for blankslate-2.1.2.3... Installing ri documentation for state_machine-0.9.4... Installing ri documentation for bluepill-0.0.43... Installing RDoc documentation for blankslate-2.1.2.3... Installing RDoc documentation for state_machine-0.9.4... Installing RDoc documentation for bluepill-0.0.43...
实际输出:
root@autobot:~# bluepill Usage: bluepill [app] cmd [options] -l, --logfile LOGFILE Path to logfile, defaults to /var/log/bluepill.log -c, --base-dir DIR Directory to store bluepill socket and pid files, defaults to /var/bluepill -v, --version --[no-]privileged Allow/disallow to run /usr/bin/bluepill as non-privileged process. disallowed by default -h, --help Show this message
Commands: load CONFIG_FILE Loads new instance of bluepill using the specified config file status Lists the status of the proceses for the specified app start [TARGET] Issues the start command for the target process or group, defaults to all processes stop [TARGET] Issues the stop command for the target process or group, defaults to all processes restart [TARGET] Issues the restart command for the target process or group, defaults to all processes unmonitor [TARGET] Stop monitoring target process or group, defaults to all processes log [TARGET] Show the log for the specified process or group, defaults to all for app quit Stop bluepill
See http://github.com/arya/bluepill for README