http://javamix.tistory.com/


# AIX 사양보기

1. prtconf : 전체 시스템 사양 보기
2. lsdev -Ccprocessor : 프로세서 보기 (물리적인 개수)
3. bindprocessor -q : 프로세서 보기 (논리적인 개수 - SMT 기능 구현 시 2배로 보임)
4. lsdev -C |grep mem : 메모리 보기
5. bootinfo -r : 메모리 보기
6. lsdev -Ccdisk : 디스크 보기
7. lspv : PV(Physical Volume) 정보 보기


# AIX 로그파일들의 위치스타호스트
메일관련 : vi /var/spool/mail
사용자관련
(vi, last) /usr/adm/sulog
  /usr/adm/wtmt
  /etc/security/faildlog
  /etc/security/lastlog
에러로그
(errpt)
  /var/adm/ras/errlog
부팅로그
(vi, alog) /var/adm/res/bootlog
cron 로그
  /var/adm/cron/log

 

 

 

 

 


# AIX 서버 점검 방법(명령어)

errpt
errpt -a
errpt > /tmp/errlog
errpt -a >> /tmp/errlog
errclear 0

error report 를 확인하고, 발생 에러의 자세한 정보를 보고, 그 에러들을 따로 저장한뒤 errpt를 clear

lsps -a (paging 확인)
lsmcoed (펌웨어 버전확인)
oslevel -r (os 버전확인)
lsdev -Cc disk (physical disks 확인)
lsdev -Cc memory (memory 확인)
lsttr -El mem0 (memory 확인)
lsattr -El mem0 a goodsize (memory goodsize 확인)
lsdev -Cc processor (물리적인 cpu의 갯수 확인)
bindprocessor -q (현재 동작중인 프로세서 갯수)
topas (4.3 버전은 topas, 4.2 이하 버전은 top 시스템 성능 정보 확인)
lsdev -Cc adapter
 (Ethernet -SX: 광)
 (Base -TX : UDP 케이블)
 (FCAdapter : SAN 스위치)
 (LPARAdapter virtual serial) -LPA 로 나뉜 하나의 서버(두개의 파티션) 끼리 통신하기 위한 가상 아답터)
lsvg
lsvg -o
lsvg -l
bootlist -m normal -o (boot 가능한 disk 확인)
lscfg -vp | grep -p 'alter' (lscft : 부품들의 자세한 정보 확인)
no -a (Infortant Network Option Values)
(no -a | grep thewall
 no -a | grep sb_max
 no -a | grep tcp_sendspace
 no -a | grep tcp_recvspace
 no -a | grep udp_sendspace
 no -a | grep udp_recvspace
 no -a | grep rfc 1323
 no -a | grep tcp_mssdflt
 no -a | grep ipforwarding)
uname -M (System Model)
uname -m (Macine ID)
uname -u (System ID)
uname -au(All Information)
lsattr -E -H -I sys0 (System Attributes)
instfix -i | grep AIX_ML (AIX maintenance Level Check)

lsdev -C -H

lsslot -c pci (pci hot plug slot 나열 : not plug - rebooting 이나 down 없이 이동 가능한 개체)
lsfs -l (file system list)
netstat -nr
ippchk -v (file set 버전 일관성 검사)
alog -o -f /var/adm/ras/booting (booting log 확인)
vmstat -s (프로세서 상태,메모리 사용량, 디스크 입출력, CPU 사용량 통계)
iostat -a 5 10 (I/O에 대한 통계를 5초 단위로 10번출력)
sar -P ALL 5 10
ps aux | head -1; ps aux | sort -rn +2 | head -10
svmon -메모리의 현재 상태에 대한 정보 (단위는 page 단위)
svmon -G : 메모리 실제할당해서 사용하는 량
svmon -P : 시스템 프로세스별 메모리 통계확인
svmon -F : 메모리 사용량을 % 로 확인


+ Recent posts