본문 바로가기

UniX12

How to use kmeminfo [출처] http://wiki-ux.info/wiki/How_to_use_kmeminfo How to use kmeminfo Page Discussion View source History HTML PDF >>> Abstract This article describes how to use the HP-UX WTEC tool kmeminfo to perform detail memory usage analysis on HP-UX Operating Environment. Contents[hide] 1 Abstract 2 Obtained the Product 3 Install the Product 4 Use kmeminfo for the first time 5 Reference 6 Authors Obtained.. 2015. 2. 12.
SED 명령어 SED 명령어 사용법 o sed 스트림 편집기 ed명령어와 grep명령어 기능의 일부를 합친 것이 sed(stream editor)명령어이다. sed명령어도 grep명령어와 같은 필터이지만 이 명령어는 화일을 수정할 수 있게 하는 반면 ed처럼 대화식 처리는 불가능하다. sed 명령어는 1개 라인씩 입력 라인을 읽어들여 표준 출력에 출력한다. sed는 각 라인을 읽을 때마다 ed에서 사용하던 형식의 대치작업을 실행한다. 일치하는 문자열이 있으면 그 문자열을 대치한 후 출력하고 일치하는 문자열이 없으면 그 라인은 수정되지 않고 그대로 출력된다. 이 sed 명령어가 ed보다 좋은 점은 라인들을 하나씩 읽고 , 수정하고, 출력하기 때문에 기억장치 안의 버퍼를 사용하지 않는다는 것이다. 버퍼를 사용하지 않으면 .. 2014. 10. 13.
UNIX system process trace 방법 UNIX system process trace 방법 O/S Version Trace Utility Oracle/Sun Solaris, Unixware 7.0 truss, e.g.: $ truss -aefo $ truss -rall -wall -p HP/UX 11 tusc, e.g.: $ tusc -afpo (See: http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.0/) IBM AIX 4.x trace, e.g.: Log on as root. # trace -a -L 4000000 -T 2000000 -o ./trace.out; # owsctl start admin # trcstop # trcrpt -O exec=on,pid=on trace.out > trc.. 2014. 4. 14.
OS 기본 OS 기본 1. OS 별 system 로그 위치 OS 로그 및 명령어 비고 HP-UX /var/adm/syslog/syslog.log /var/adm/syslog/OLDsyslog.log (Reboot 이전 로그) Solaris /var/adm/messages /var/adm/messages.# (OLD log) AIX $ errpt (기본) $ errpt -a (전체 Detail log) $ errpt -a j IDENTIFIER (특정 error identifier에 대한 로그 보기) error event log 2. Physical Memory 용량 확인 OS 명령어 비고 HP-UX # echo "phys_meme_pages/D" | adb /stand/vmunix /dev/kmem root 권한 .. 2014. 3. 11.