private String launchRoute(String ip, int ttl) {
            mCommand = new Command("/system/bin/ping",
                    "-c", "4",
                    "-s", "32",
                    "-t", String.valueOf(ttl),
                    ip);

            String str = null;
            try {
                str = Command.command(mCommand);
            } catch (Exception e) {
                e.printStackTrace();
            } finally {
                mCommand = null;
            }
            return str;
        }
Get TTL IP

@param ip  Target IP
@param ttl TTL
@return Ping IP and TTL Result
caprice/kit-cmd/src/main/java/net/qiujuer/genius/kit/cmd/TraceRoute.java