public static service_stats get ( nitro_service service , String name ) throws Exception { service_stats obj = new service_stats ( ) ; obj . set_name ( name ) ; service_stats response = ( service_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of service_stats resource of given name .