Ask Your Question
0

Kill all nodes running on machine (without killing others)

asked 2019-08-12 16:10:45 -0500

dsoike gravatar image

updated 2019-08-12 16:11:05 -0500

I have a distributed network of ros nodes running on multiple machines. How can I kill all nodes on a specific machine without effecting the others?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-12 16:12:19 -0500

dsoike gravatar image

updated 2019-08-12 17:10:47 -0500

jayess gravatar image

Use rosnode machine to list all nodes running on the current machine and then use rosnode kill to kill them.

rosnode machine | xargs rosnode machine | xargs rosnode kill
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-08-12 16:10:45 -0500

Seen: 17 times

Last updated: Aug 12