1、 检查机器型号
# uname –Mun
cq01 IBM,9133-55A IBM,030695B2H
2、 检查系统版本
# oslevel –s
5300-03-00-0000
3、 检查系统微码版本
# lsmcode c
The current permanent system firmware image is SF240_338
The current temporary system firmware image is SF240_338
The system is currently booted from the temporary firmware image.
4、 检查错误信息
# errpt | more
# errpt –dH -- 查看硬件错误
# errpt –aj err_id -- 查看错误明细
# diag –ed devname -- 对指定设备进行诊断
# snap –r ; snap –ac #将配置信息采集到/tmp/ibmsupt目录下。
# alog –ot boot #显示启动期间的信息
# alog –ot console #显示console输出的信息。
5、 检查cluster版本
#lslpp –l cluster
6、 检查swap
#lsps –a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk1 rootvg 4096MB 15 yes yes lv
hd6 hdisk0 rootvg 4096MB 15 yes yes lv
7、 检查文件系统空间
# df –k
8、 检查rootvg镜像
# lsvg –l rootdg
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 32 64 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 32 64 2 open/syncd /
hd2 jfs2 16 32 2 open/syncd /usr
9、 检查vg空间使用情况
# lsvg –p datavg
10、检查启动镜像
# bootlist –m normal –o
hdisk0 blv=hd5
hdisk1 blv=hd5
11、检查dump dev
# sysdumpdev –l
primary /dev/hd6
secondary /dev/sysdumpnull
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump TRUE
dump compression ON
12、检查磁盘可用性
# lsdev –Cc disk
hdisk0 Available 03-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 03-08-00-8,0 16 Bit LVD SCSI Disk Drive
hwdisk0 Available 05-08-01 Huawei STOR_V2R2 FC Disk Drive
13、检查cpu可用性
# lsdev –Cc processor
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
14、检查cpu guard
# bindprocessor –q
The available processors are: 0 1 2 3
检查sys0设置,多cpu时, guard应为enable。
# lsattr –El sys0
cpuguard enable CPU Guard True
16、检查性能情况
#topas
17、显示cpu插槽数
# lscfg –vp –l proc
18、显示内存插槽数
# lscfg –vp | grep –I size
19、检查lv状态
# lsvg –o|lsvg –il |grep stale
20、磁带机检查
# lsdev –Cc tape
rmt0 Available 03-08-00-0,0 LVD SCSI 4mm Tape Drive
# lsattr –El rmt0
block_size 1024 BLOCK size (0=variable length) True
compress yes Use data COMPRESSION True
density_set_1 71 DENSITY setting #1 True
density_set_2 38 DENSITY setting #2 True
extfm yes Use EXTENDED file marks True
mode yes Use DEVICE BUFFERS during writes True
ret no RETENSION on tape change or reset True
ret_error no RETURN error on tape change or reset True
size_in_mb 36000 Size in Megabytes False
检查磁带机使用次数
#/usr/lpp/diagnostics/bin/utape -cd rmt0 –n
|