Unanswered
I'M Running Multiple Trains-Agents On One Bfg-9000 Machine.
Is There A Way To Stop Only One Agent?
Hi WackyRabbit7
You can get all the agents PIDs byps -ef | grep "trains-agent"
and kill -9 <pid>
for the requested agent.
You can also pkill -f "trains-agent --gpus 0"
- This will kill a process that started trains-agent --gpus 0
.
Notice it matches the cmd pattern so it has to match the way you executed the trains-agent. This can be checked with ps -Af | grep trains-agent
165 Views
0
Answers
4 years ago
one year ago