@Override
  public ObjectNode execute(final HttpServletRequest request) throws Exception {

    // get cluster object
    Cluster cluster = repository.getCluster();

    // json object to be sent as response
    ObjectNode responseJSON = mapper.createObjectNode();

    JsonNode requestDataJSON = mapper.readTree(request.getParameter("pulseData"));
    String memberName = requestDataJSON.get("MemberClients").get("memberName").textValue();

    ArrayNode clientListJson = mapper.createArrayNode();

    Cluster.Member clusterMember = cluster.getMember(makeCompliantName(memberName));
    if (clusterMember != null) {
      responseJSON.put("memberId", clusterMember.getId());
      responseJSON.put(NAME, clusterMember.getName());
      responseJSON.put(HOST, clusterMember.getHost());

      // member's clients

      Cluster.Client[] memberClients = clusterMember.getMemberClients();
      for (Cluster.Client memberClient : memberClients) {
        ObjectNode regionJSON = mapper.createObjectNode();
        regionJSON.put("clientId", memberClient.getId());
        regionJSON.put(NAME, memberClient.getName());
        regionJSON.put(HOST, memberClient.getHost());
        regionJSON.put("queueSize", memberClient.getQueueSize());
        regionJSON.put("clientCQCount", memberClient.getClientCQCount());
        regionJSON.put("isConnected", memberClient.isConnected() ? "Yes" : "No");
        regionJSON.put("isSubscriptionEnabled",
            memberClient.isSubscriptionEnabled() ? "Yes" : "No");
        regionJSON.put("uptime", TimeUtils.convertTimeSecondsToHMS(memberClient.getUptime()));

        regionJSON.put("cpuUsage", String.format("%.4f", memberClient.getCpuUsage()));
        // regionJSON.put("cpuUsage", memberClient.getCpuUsage());
        regionJSON.put("threads", memberClient.getThreads());
        regionJSON.put("gets", memberClient.getGets());
        regionJSON.put("puts", memberClient.getPuts());

        clientListJson.add(regionJSON);
      }
      responseJSON.set("memberClients", clientListJson);
    }
    // Send json response
    return responseJSON;

  }
Class MemberClientsService

This class contains implementations of getting Member's Clients.

@since GemFire version 7.5
geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/service/MemberClientsService.java