asadmin get -m "server.*" 명령은 해당 서버와 관련된 모든 모니터링 데이터를 반환합니다. 여러 응용 프로그램이 배포된 경우 데이터 양이 상당히 커서 반환하는 데 시간이 오래 걸릴 수 있습니다. 클라이언트에서 다음과 같은 클라이언트측 오류와 함께 시간 제한을 적용할 수 있습니다.
./asadmin get --monitor=true "server.*" I/O Error: Read timed out Command get failed. |
자세한 내용은 문제 보고서를 참조하십시오.
클라이언트에 반환되는 데이터 양을 최소화합니다.
최상위 수준 요소를 반환하는 asadmin list -m "server.*" 명령을 실행합니다.
세부 정보가 필요한 최상위 수준 요소를 선택하고 해당 요소를 필터로 사용합니다. 예를 들면 다음과 같습니다.
> ./asadmin list -m "server.*" ... server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-cache server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods. create-int-int-[Lorg\.spec\.jappserver\.supplier\.helper\.ComponentOrder server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods. findByPrimaryKey-java\.lang\.Integer server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.generateXml server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.getEJBLocalHome ... >./asadmin get -m "server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.*" ... server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.remove. methodstatistic-name = MethodStatistic server.applications.SPECjAppServer.supplier\.jar.POEnt.bean-methods.remove. methodstatistic-starttime = 1259604209775 ... |