AIX 환경에서 유용한 것들

2010.05.11 11:19

조인상 조회 수:28228

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


* AIX 에서 패키지 설치할때
# inutoc .
# installp -aXgd . all



* AIX 패치 버전 확인
oslevel -r



* AIX cpu 비트확인
bootinfo -y (가능한 비트)
bootinfo -K (현재 비트)



* AIX 설치패키지 확인
lslpp -l



* AIX 에서 gcc 설치하기
- gmake 설치
- gcc rpm 으로 설치



* AIX 4.3.3 에서 gcc 설치
- gcc 2.95.0 으로설치
- bos.adt.include 도 설치

* AIX 에서 컴파일시 library libm not found 메세지 나올때
- bos.adt.libm 설치하기 (aix 5.1)
- smit 에서 소프트웨어 설치로 1번씨디

* gcc: installation problem, cannot exec `as': A file or directory in the path name does not exist.  라는 에러 메세지 나올때
- bos.adt.base 설치



* ld: 0706-003 Cannot find or read import file: /lib/syscalls.exp    라는 에러 메세지 나올때
- bos.adt.syscalls 를 설치할것



* 아무튼 bos.adt.* 다 설치하는게 좋다.



* AIX 5.2 에서 gcc 버그 (?)
[Bug c/13532] Parse error with pthread.h on AIX 5.2 with gcc 3.3.2
- AIX 5.2 에서는 gcc 2.95.0 으로 할것


* AIX gcc 깔때 ibm 홈페이지에서 받은 rpm 으로 깔면됨.



* AIX 에서 CPU 정보 아는법
# lsdev -Cc processor
# lsattr -El proc0



* AIX 에서 전체메모리
- vmstat 로 구하자


* AIX 에서
exec(): 0509-036 Cannot load program gcc because of the following errors:
        0509-150  Dependent module libintl.a(shr.o) could not be loaded.
        0509-022 Cannot load module libintl.a(shr.o).
        0509-026 System error: A file or directory in the path name does not exist.
- gettext 설치할것



* AIX 에서 32/64bit 전환하기
64-bit 모드로 바꾸기
-------------------
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# bosboot -ad /dev/ipldevice
# shutdown -r


32-bit 모드로 바꾸기
-------------------
# ln -sf /usr/lib/boot/unix_mp /unix
# ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
# bosboot -ad /dev/ipldevice
# shutdown -r




* AIX 에서 full 났을때 파일찾기
- find /var -mtime 1 -ls | sort -n +6 -7 -r




* Xm.h 파일(libXm.a) 없을때

- X11.motif.lib 패키지 설치



출처 : http://blog.naver.com/hankawiii?Redirect=Log&logNo=90000125900
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 108722
211 AIX 시스템상의 core수 확인하기 ischo 2013.01.10 102120
210 AIX에서 하드웨어구성상태 확인방법 조인상 2010.05.11 81497
209 lsof 설치 없이 해당 포트를 열고 있는 프로세스 확인하는 법 ischo 2012.10.17 58231
208 AIX ssh 설치하기 조인상 2010.05.11 51021
207 AIX 6.1에 Apache 설치하기 ischo 2013.02.01 48735
206 AIX에서 시스템의 hostname 변경하기 ischo 2013.04.30 45240
205 AIX에서의 mirrorvg. 디스크 미러링 조인상 2011.07.06 44456
204 AIX에서 TCP wrapper 사용하기 조인상 2010.05.11 44317
203 IBM AIX Version 6.1 Differences Guide file 조인상 2012.07.26 44156
202 AIX 튜닝포인트 - CPU,MEM,VG + FAQ [1] ischo 2012.11.20 41698
201 AIX 환경에서 usb드라이브 사용하기 조인상 2011.09.01 41074
200 AIX 에서의 Comp , Noncomp 의 메모리 사용확인및 튜닝 조인상 2011.01.03 40835
199 시스템 성능의 병목원인 분석 조회 조인상 2010.05.11 40816
198 AIX 환경에서 NFS port번호 range 지정방법 조인상 2010.06.04 37787
197 errpt 4C41C0D0 : JFS2 LOG RECORDS FORCED OVERWRITTEN 조인상 2010.05.11 36400
196 AIX에서 process 당 thead 개수 (maximum number of thread per process) ischo 2013.02.06 35387
195 p시리즈 펌웨어 업데이트 방법 조인상 2012.07.20 35040
194 IBM AIX Version 7.1 Differences Guide file 조인상 2012.07.26 34715
193 etherchannel (teaming : 티밍) 구성방법 [1] file 조인상 2010.05.11 34388
192 AIX 시스템 퍼포먼스를 그래프로 확인 nmon + nmon analyser file 조인상 2010.05.11 33974
서버에 요청 중입니다. 잠시만 기다려 주십시오...