Getting subscribers and publishers invoked by a ROS node
Suppose I have launched a node through a launch file. I would like to get a list of subscribers and a list of publishers that are invoked by that node. What would be the command line to do that?