1. CPU 상태 확인
SUN # psrinfo -v
# /var/platform/sun4u/sbin/prtdiag
# mpstat 30
IBM # lsdev -Cc processor
# lsattr -El proc0
# vmstat
HP # sar 2 8
# ioscan
Compaq # psrinfo -v
# sizer -v (OS & Version 확인)
2. DISK 상태 확인
SUN # df -k (# df -h)
# iostat -x 30
# swap -l (# swpa -s, Swap Partition Display)
IBM # lspv (Physical Volume 확인)
# lsdev -Cc disk
# lsattr -El hdisk0
# iostat
# lsvg -l "관련vg" (Volume Group 확인)
# lsdev -C | grep fc (Fiber Channel 확인)
# lsdev -Cc disk | more (Storage 측 Channel)
HP # df -k
# diskinfo -v /dev/rdsk/c1t0d0, c1t2d0, c2t2d0, c5t0d0
# bdf (Disk Partition Check, df -k 명령어와 비슷)
# ioscan -funC disk
# ioscan -funC lan
# vgdisplay
Compaq # df -k
# iostat
# swapon -a (Swap Partition Display)
3. Memory 상태 확인
SUN # vmstat 1 10
IBM # lsdev -Cc memory (메모리 검색)
# lsattr -El mem0 (메모리 상태 확인)
# topas
HP # vmstat
# dmesg
Compaq # vmstat -P
# vmstat 1 10
4. 네트워크 상태 확인
SUN # ifconfig -a
# netstat -nr
# netstat -ni (# netstat -ni 2)
IBM # ifconfig -a
# netstat -nr
# netstat -ni
HP # netstat -nr
# ifconfig lan900
# netstat -ni
Compaq # ifconfig -a
# netstat -nr
# netstat -ni
5. OS 백업
SUN # ufsdump -0ucf /dev/rmt/0 /
IBM # smitty mksysb
HP # /opt/ignite/bin/make_recovery -Av
Compaq # vdump -0uf /dev/ntape/tape0
6. telnet, FTP Access Control
SUN, IBM, Compaq TCP_Wrapper 설치되어 있음.
# vi /etc/hosts.allow
telnetd: 172.16.0.0/255.255.0.0 \
192.168.10.0/255.255.255.0 \
203.247.50.193 \
192.168.0.254 \
ftpd: 172.16.0.0/255.255.0.0 \
192.168.10.0/255.255.255.0 \
203.247.50.193 \
192.168.0.254 \
HP # vi /var/adm/inetd.sec (허용할 IP 입력)
telnet allow 172.16.8.254 172.16.0.200 192.168.10.10-20
ftp allow 172.16.8.254 172.16.0.200 192.168.10.10-20
7. 온도 확인
-------------------------------------------------------------------------------------------------
명령어 메세지 확인 권고온도(위험온도)
-------------------------------------------------------------------------------------------------
SUN # prtpicl -v -c /var/adm/messages 24'C ~ 60'C (68'C 이상)
# ./prtdiag -V
IBM # booinfo -p /var/adm/ras/errlog less than 35 degrees C or 95 degrees F
-> chrp 나오는것 중
-> uesensor 명령어 사용
HP 확인불가 확인불가 5'C ~ 30'C(30'C 이상)
syslog.log에 Overtemp Condition
Compaq rmc> status /var/adm/messages 10'C ~ 35'C(45'C 이상)
# sysconfig -q envmon /var/adm/messages 18'C ~ 24'C(35'C 이상)
-------------------------------------------------------------------------------------------------
8. Fan 장애 확인
-------------------------------------------------------------------------------------------------
명령어 메세지 메세지 확인 불가시
장애 발견 방법
-------------------------------------------------------------------------------------------------
SUN # ./prtdiag -V /var/adm/messages 유안 점검(LED Check)
(예) Warning #01 Fan fail
IBM # errpt /var/adm/ras/errlog Operator Panel 확인
(예) fan error
HP # vi /var/adm/syslog/syslog.log (참고1) MP> cm
# vi /var/opt/resmon/log/event.log CM> PS
(예) MP log에 FAN Fail
Compaq rmc> status /var/adm/messages 전면 LCD Panel
-------------------------------------------------------------------------------------------------
(참고1)
execute the following: /opt/resmon/bin/resdata -M 153300606
-> # /opt/resmon/bin/resdata -M 153300606
9. Disk 장애 확인
-------------------------------------------------------------------------------------------------
명령어 메세지 메세지 확인 불가시
-------------------------------------------------------------------------------------------------
SUN # vi /var/adm/messages /var/adm/messages 육안점검(LED Check)
# format (예) Warning c0t1d0 i/o error
or
# vxdisk list
or
# metastat
IBM # errpt /var/adm/messages DISK LED 확인
(예) disk option error
HP # vi /var/adm/syslog/syslog.log (참고2) 확인불가
# vi /var/opt/resmon/log/event.log
Compaq # hwmgr -v dev /var/adm/messages Disk Fault LED
-------------------------------------------------------------------------------------------------
(참고2) LVM: VG 0:PV 0(device 0x1f006000) is POWERFAILED
10. Power Supply 장애 확인
-------------------------------------------------------------------------------------------------
명령어 메세지 메세지 확인 불가시
-------------------------------------------------------------------------------------------------
SUN # vi /var/adm/messages /var/adm/messages 육안 점검(LED Check)
or (예) Warning # Power supply fail
# format
IBM # errpt crontab
(예) power problem Power Supply LED Check
HP # vi /var/adm/syslog/syslog.log (참고3) GPS> PS
# vi /var/opt/resmon/log/event.log MP> cm
CM> PS
Compaq rmc> status /var/adm/messages Power Supply LED 확인
-------------------------------------------------------------------------------------------------
'UniX' 카테고리의 다른 글
UNIX system process trace 방법 (0) | 2014.04.14 |
---|---|
OS 기본 (0) | 2014.03.11 |
vi editor (0) | 2012.06.19 |
raw device to file system(dd copy) [펌] (0) | 2010.04.07 |
Diskpart 명령줄 유틸리티에 대한 설명 (0) | 2010.02.05 |