HP-UX
1751695 회원
5121 온라인
108781 솔루션
새 메시지

glance에서 swap 가져오는 방법

 
박한진
조언자

glance에서 swap 가져오는 방법



/opt/perf/bin/glance -j 30 -adviser_only -syntax /backup/monitor/test.adv> 1.log



이런식으로 원하는 값을 가져오려고 하구요



test.adv의 내용은

print "memory sys =", gbl_mem_sys|7|0

print "memory user =", gbl_mem_user|7|0

print "memory cache =", gbl_mem_cache|7|0

print "memory free =", gbl_mem_free|7|0

print "memory Phys =", gbl_mem_phys|7|0

위와 같습니다.



여기서 메모리 스왑값을 받아오고 싶은데요

해당 스왑값을 가져올수있는 변수값을 알고 싶습니다.

아니면 다르게라도 swap 값을 받아올수 있는 방법 아시는

고수분의 답변 부탁드립니다.
1 응답 1
김병수
본과생

glance에서 swap 가져오는 방법

test.adv file안에



print "memory swap =", gbl_swap_space_util|7|



라인을 넣으시고 다시 실행하여 보시기 바랍니다.



# swapinfo -atm



의 결과오 동일한지 확인하시구요



그럼~~~