#!bin/sh
pkill -f imapi-*.war

ps -ef|grep imapi-*.war

DATE=`date +%Y-%m-%d-%H-%M` #获取当前系统时间  

mv ./logs/log.log ./logs/${DATE}_log.log
