42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
|
|
1、nginx
|
|||
|
|
nginx执行文件位置:/data/tengine/sbin/nginx
|
|||
|
|
查看进程:ps axjf|grep nginx
|
|||
|
|
|
|||
|
|
2、redis-server
|
|||
|
|
查看进程:ps axjf|grep redis-server
|
|||
|
|
查看服务:systemctl status redis.service
|
|||
|
|
启动服务:systemctl start redis.service
|
|||
|
|
|
|||
|
|
3、jar包
|
|||
|
|
1 jenkins任务名:fly_moon
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_moon_crawlSpider
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_moon_crawlSpider-shop
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_moon_email
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_moon_monitor
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_moon_partner
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_moon_sse
|
|||
|
|
|
|||
|
|
1 jenkins任务名:fly_task
|
|||
|
|
|
|||
|
|
|
|||
|
|
ps axjf|grep flymoon-task.jar
|
|||
|
|
ps axjf|grep flymoon_sse.jar
|
|||
|
|
ps axjf|grep monitor-0.0.1-SNAPSHOT.jar
|
|||
|
|
ps axjf|grep flymoon-partner.jar
|
|||
|
|
ps axjf|grep fly-moon-email.jar
|
|||
|
|
ps axjf|grep flymoon-admin.jar
|
|||
|
|
ps axjf|grep fly_moon_crawlSpider-0.0.1-SNAPSHOT.jar
|
|||
|
|
ps axjf|grep fly_moon_crawlSpider_shop.jar
|
|||
|
|
|
|||
|
|
|
|||
|
|
ps + grep
|
|||
|
|
ps aux | grep -v grep | grep "dialogue.influencer_search"
|
|||
|
|
或者取 PID:
|
|||
|
|
PID=$(ps aux | grep -v grep | grep "dialogue.influencer_search" | awk '{print $2}')
|