Cisco Cisco ASA 5555-X Adaptive Security Appliance 产品宣传页

下载
页码 904
 
34-7
Cisco ASA Series 
일반적인 작업 CLI 구성 가이드
 
34 
장     시스템 이벤트에 대한 응답 자동화 
  EEM 
구성
예:
ciscoasa(config)# memory logging 202980
유일한 필수 인수는 메모리 로깅 버퍼의 항목 수입니다. wrap 옵션은 메모리 로깅 유틸리티가 래
핑할 때 버퍼를 저장하도록 알려줍니다. 버퍼는 한 번만 저장할 수 있습니다.
메모리 로깅 버퍼가 여러 번 래핑하는 경우, 덮어쓰일 수 있습니다. 버퍼가 래핑할 때 데이터 저장
을 활성화하도록 이벤트 관리자에게 트리거가 전송됩니다. size 옵션은 특정 크기를 모니터링합
니다. process 옵션은 특정 프로세스를 모니터링합니다. 
참고
Checkheaps 
프로세스는 표준이 아닌 방식으로 메모리 할당자를 사용하기 때문에 프로세
스로 완전히 무시됩니다. 
context 
옵션은 지정된 이름별로 지정된 가상 상황에 대해 메모리 로깅을 기록합니다.
메모리 로깅 파라미터를 변경하려면 이 파라미터를 비활성화한 다음 다시 활성화하십시오.
2
단계
메모리 로깅 결과를 표시합니다.
show memory logging 
[brief | wrap]
show memory logging include
 [address] [caller] [operator] [size] [process] [time
[context]
예:
ciscoasa# show memory logging
Number of free                           6
Number of calloc                         0
Number of malloc                         8
Number of realloc-new                    0
Number of realloc-free                   0
Number of realloc-null                   0
Number of realloc-same                   0
Number of calloc-fail                    0
Number of malloc-fail                    0
Number of realloc-fail                   0
Total operations 14
Buffer size: 50 (3688 x2 bytes)
process=[ci/console] time=[13:26:33.407] oper=[malloc]
addr=0x00007fff2cd0a6c0 size=72 @ 0x00000000016466ea 0x0000000002124542 0x000000000131911a 
0x0000000000442bfd process=[ci/console] time=[13:26:33.407] oper=[free]
addr=0x00007fff2cd0a6c0 size=72 @ 0x00000000021246ef 0x00000000013193e8
0x0000000000443455 0x0000000001318f5b
process=[CMGR Server Process] time=[13:26:35.964] oper=[malloc]
addr=0x00007fff2cd0aa00 size=16 @ 0x00000000016466ea 0x0000000002124542 0x000000000182774d 
0x000000000182cc8a process=[CMGR Server Process] time=[13:26:35.964] oper=[malloc]
addr=0x00007fff224bb9f0 size=512 @ 0x00000000016466ea 0x0000000002124542 
0x0000000000bfef9a 0x0000000000bff606 process=[CMGR Server Process] time=[13:26:35.964] 
oper=[free]
addr=0x00007fff224bb9f0 size=512 @ 0x00000000021246ef 0x0000000000bff3d8
0x0000000000bff606 0x000000000182ccb0
process=[CMGR Server Process] time=[13:26:35.964] oper=[malloc]
addr=0x00007fff224b9460 size=40 @ 0x00000000016466ea 0x0000000002124542
0x0000000001834188 0x000000000182ce83
process=[CMGR Server Process] time=[13:26:37.964] oper=[free]
addr=0x00007fff2cd0aa00 size=16 @ 0x00000000021246ef 0x0000000001827098 0x000000000182c08d 
0x000000000182c262 process=[CMGR Server Process] time=[13:26:37.964] oper=[free]
addr=0x00007fff224b9460 size=40 @ 0x00000000021246ef 0x000000000182711b 0x000000000182c08d 
0x000000000182c262 process=[CMGR Server Process] time=[13:26:38.464] oper=[malloc]
addr=0x00007fff2cd0aa00 size=16 @ 0x00000000016466ea 0x0000000002124542 0x000000000182774d 
0x000000000182cc8a process=[CMGR Server Process] time=[13:26:38.464] oper=[malloc]