关闭,启动,查看Tomcat
1 /usr/local/tomcat8/bin/shutdown.sh 2 3 /usr/local/tomcat8/bin/startup.sh 4 5 tail -300f /usr/local/tomcat8/logs/catalina.out
关闭,启动,查看vsftpd状态几个功能一起执行,这样便于查看重启是否成功
1 systemctl stop vsftpd.service 2 3 systemctl start vsftpd.service 4 5 systemctl status vsftpd.service