#!/bin/bash
ps_id=`ps -ef | grep -w ffmpeg | grep -v 'grep'| awk '{print $2}'`
if [[ "$ps_id" != "" ]];then
echo $ps_id
echo '-------------------------------- memstat --------------------------------'
kill $ps_id
fi
shell-结束所有的ffmpeg进程
最新推荐文章于 2024-05-23 17:02:15 发布