본문 바로가기

기타

[AIX] 서버 점검

lsps -a  (paging 확인)

lsmcode (펌웨어 버젼확인)

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 (물리적인 cup의 갯수 확인)

bindprocessor  -q (현재 동작중인 process 의 갯수

topas (시스템 성능 정보 확인)

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' (lscfg : 부품들의 자세한 정보 확인 )

no -a   (Important 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 rfc1323
  no -a | grep tcp_mssdflt
  no -a | grep ipforwarding )

uname -M ( System Model  )
uname -m ( Machine ID )
uname -u  (System ID )
uname -au ( All information )
lsattr -E -H -l sys0 (System Attributes)

instfix -i | grep AIX_ML (AIX Maintenance Level Check")


lsdev -C -H
 
lsslot -c pci (pic hot plug slot 나열 : hot plug - rebooting 이나 down 없이 이동 가능한 개체)

lsfs -l  (file system list)

netstat -nr

lppchk -v (file set  버젼 일관성 검사)

alog -o -f /var/adm/ras/bootlog (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 : 메모리 사용량을 % 로 확인


errpt   

errpt -a

errpt > tmp/errlog

errpt -a >> /tmp/errlog

errclear 0


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