Is there anyway I can get the output of traceroute in java. I know I could use exec but I want to know if there is any API can fetch the output for me not worrying about platform.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
Can you try using the following API :
http://jakewharton.github.io/pingdom-java/apidocs/com/jakewharton/pingdom/entities/TraceRoute.html
GitHub link:
https://github.com/JakeWharton/
If you don't want to do specifically in a language, i would recommend you to go to the command line and type
tracert www.google.com
,it will give you the desired result