rosnode ping /node only once
I need to use 'rosnode ping /node' command inside my rosnode source file. Is it possible to ping a node only once? If I simply write "rosnode ping /node", it repeatedly pings the node for some duration. Any information or help regarding this would be much appreciated.
Thanks
PS: Is it possible to suppress the output on the console, like quite mode as opposed to verbose mode?