环境检查
> cat /etc/redhat-release # linux的版本
应用管理
> systemctl start app.service #等同 service app start
> systemctl restart app.service #等同 service app restart
> systemctl status app.service #等同 service app status
> systemctl stop app.service #等同 service app stop
进程管理
ps aux | grep 进程相关信息
ps -ef |grep hello|awk '{print $2}'|xargs kill -9 杀死所有包含hello相关的进程