IBM小型机检查命令

更新时间:2023-05-31 23:23:14 阅读: 评论:0

三:查看报错信息
主要查看硬件的永久性报错 #errpt -dH | pg
软件的永久性报错 #errpt -dS | pg
系统报警灯

四、机器的序列号
# uname -Mu
IBM,9131-52A IBM,030666C5G

五、操作系统版本:#oslevel -r
# oslevel -r
highprofile5300-05
注:有时候不能使用是因为系统版本低的原因。

六、其他检测


1、执行sysdumpdev –l检查桥头堡是什么意思dump是否设置为always allow sysdump
# sysdumpdev -l
primary /dev/hd6
condary /dev/sysdumpnull
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump FALSE
dump compression ON

2、执行sysdumpdev –e检查当前dump大小应该为主dump设备的大小的80%以下;
# sysdumpdev -e
0453-041 Estimated dump size in bytes: 170498457

3、执行lsvg -l rootvgchine festival检查有否"stale"状态的逻辑卷;
# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 clod/syncd N/A
hd6 paging 2 4 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 40 80 2 open/syncd /
hd2 jfs2 8 16 2 open/syncd /usr
hd9var jfs2 1 2 2 open/syncd /var
hd3 jfs2 8 16 2 open/syncd /tmp
hd1 jfs2 40 80 2 open/syncd /home
hd10opt jfs2 1 2 2 open/syncd /opt
fwdump jfs2 1 2 2 open/syncd /var/adm/ras/platform

4、执行lsps -s检查内存交换区占用情况;
# lsps -s
Total Paging Space Percent Ud
512MB 1%

# lsps -a
Page Space Physical Volume Volume Group Size %Ud Active Auto Type
hd6 hdisk0 rootvg 512MB 1 yes yes lv

5、执行df -m检查文件系统的分配状况,一般不要超过80%
# df -m
Filesystem MB blocks Free %Ud Iud %Iud Mounted on
/dev/hd4 10240.00 6614.88 36% 18551 2% /
/dev/hd2 2048.00 667.25 68% 37425 20% /usr
/dev/hd9var 256.00 246.13 4% 477 1% /var
/dev/hd3 2048.00 1212.24 41% 2864 2% /tmp
/
dev/fwdump 256.00 255.64 1% 4 1% /var/adm/ras/platform
/dev/hd1 10240.00 7713.15 25% 2526 1% /home
/proc - - - - - /proc
/dev/hd10opt 256.00 205.61 20% 976 3% /opt

6、执行lsdev –Cc disk检查硬盘状态为available
# lsdev -Cc disk
hdisk0 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-5,0 16 Bit LVD SCSI Disk Drive

7、执行lsdev –Cc adapter检查PCI卡状态为available
# lsdev -Cc adapter
ent0 Available 09-08 2-Port 10/100/1000 Ba-TX PCI-X Adapter (14108902)
ent1 Available 09-09 2-Port 10/100/1000 Ba-TX PCI-X Adapter (14108902)
ide0 Available 03-08 ATA/IDE Controller Device
lai0 Available 0C-00 GXT135P Graphics Adapter
sisscsia0 Available 04-08 PCI-X Dual Channel Ultra320 SCSI Adapter
usbhc0 Available 08-08 USB Host Controller (33103500)
usbhc1 Available 08-09 USB Host Controller (33103500)
vsa0 Available LPAR Virtual Serial Adapter
vsa1 Available LPAR Virtual Serial Adapter

8、执行lsdev –Cc tape检查磁带机状态为available
# lsdev -Cc tape
rmt0 Available 04-08-00-0,0 LVD SCSI 4mm Tape Drive

9、执行lsdev – Cc processor检查CPU状态为available
# lsdev -Cc processor
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor


10、执行lsattr –El sys0|grep autorestart检查系统crash后是否自动重新启动;
# lsattr -El sys0 |grep autorestart
autorestart true Automatically REBOOT system after a crash True广东高考语文

# chdev -l sys0 -a autorestart=fal修改autorestart值为Fal
克莱斯勒网络学院
11、执行lsattr –El sys0|grep cpuguard检查CPU GUARD是否开启;
# lsattr -El sys0 |grep cpuguard
cpuguard enable CPU Guard True

# chdev -l sys0 -a cpuguard=fal修改cpuguard值为Fal

12、执行lsattr –El mem0检查内存状态,正常状态size=goodsize
# lsattr -El mem0
goodsize 3920 Amount of usable physical memory in Mbytes Fal
size 3920 Total amount of physical memory in Mbytes Fal

13、执行 vmstatiostattopas观察us,sy,pi,po,内存占用率,硬盘读写速度等检查是否有性能瓶颈;
a) CPU性能:使用vmstat topas来检查;
b) 内存使用情况:也是使用topasvmstat来检查;
c) 检查IO平衡使用情况:使用美国大选辩论视频iostat来检查;
d) 交换空间使用情况:使用lsps –a来检查;

# vmstat
System configuration: lcpu=4 mem=3920MB

kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 1 147268 831951 0 0 0 0 0 0 2 1350 67 0 0 99 0

口头禅英文# topas
Topas Monitor for host: IBMSim EVENTS/QUEUES FILE/TTY
Mon Feb 25 16:21:13 2008 Interval: 2 Cswitch 66 Readch 6
Syscall 1375 Writech 176
Kernel 0.1 |# | Reads 0 Rawin 0
Ur 0.1 |# | Writes 0 Ttyout 176
Wait 0.0 | | Forks 0 Igets 0
Idle 99.8 |>>>>>###| Execs 0 Namei 0Runqueue 0.0 Dirblk 0
Network KBPS I-Pack O-Pack KB-In KB-Out Waitqueue 0.0
en1 0.2 0.5 0.5 0.0 0.2
en0 0.0 0.0 0.0 0.0 0.0 PAGING MEMORY
lo0 0.0 0.0 0.0 0.0 0.0 Faults 0 Real,MB 3920
Steals 0 % Comp 15.9
Disk Busy% KBPS TPS KB-Read KB-Writ PgspIn 0 % Noncomp 2.1
hdisk0 0.0 0.0 0.0 0.0 0.0 PgspOut 0 % Client 2.1
hdisk1 0.0 0.0 0.0 0.0 0.0 PageIn 0
cd0 0.0 0.0 0.0 0.0 0.0 PageOut 0 PAGING SPACE
Sios 0 Size,MB 512
Name PID CPU% PgSp Owner % Ud 1.1
dtgreet 94318 0.1 1.3 root NFS (calls/c) % Free 98.8
topas 323676 0.0 1.0 root ServerV2 0
gil 69666 0.0 0.9 root ClientV2 0 Press:
X 131180 0.0 3.6 root ServerV3 0 "h" for help
rpc.lock 303278 0.0 1.2 root ClientV3 0 "q" to quit
ndmail 233586 0.0 0.9 root
netm 65568 0.0 0.4 root
xmwlm 188642 0.0 0.8 root
syncd 127070 0.0 0.5 root
xmgc 49176 0.0 0.4 root
IBM.CSMA 307368 0.0 1.9 root
psmd 24588 0.0 0.5 root
wlmsched 73764 0.0 0.5 root
j2pg 82000 0.0 2.0 root
usbCfgDe 86080 0.0 0.4 root
dtlogin 90238 0.0 0.4 root
vmptacrt 20490 0.0 0.4 root
aiorve 98496 0.0 0.4 root
lvmbb 102476 0.0 0.4 root
dog 106622 0.0 0.9 root

# iostat
System configuration: lcpu=4 drives=3 paths=2 vdisks=0
tty: tin tout avg-cpu: % ur % sys % idle % iowait
0.0 2.5 0.1 0.1 99.8 0.0

Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 0.1 0.9 0.2 87764 153601
hdisk1 0.1 0.6 0.1 8694 153601
cd0 0.0 0.0 0.0 0 0

# lsps -a
Page Space Physical Volume Volume Group Size %Ud Active Auto Type
hd6 hdisk0 rootvg 512MB 1 yes yes lv

14、执行vlccifconfig -a查看网卡是否启动(UP);
# ifconfig -a
en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255
tcp_ndspace 131072 tcp_recvspace 65536
en1: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.7.8 netmask 0xff37ff00 broadcast 192.232.7.255
tcp_ndspace 131072 tcp_recvspace 65536
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_ndspace 131072 tcp_recvspace 131072 rfc1323 1

#ifconfig en0 up/down修改网卡状态;


15、执行netstat -innetstat -rn观察网络状态;
# netstat -rn
Routing tables
Destination Gateway Flags Refs U If Exp Groups

Route Tree for Protocol Family 2 (Internet):
default 192.168.7.253 UG 1 6141 en1 - -
127/8 127.0.0.1 U 5 339 lo0 - -
192.32.7.0 192.168.7.8 UHSb 0 0 en1 - - =>
192.32.7 192.168.7.8 U 2 20955 en1 - -
192.168.3.0 192.168.3.1 UHSb 0 0 en0 - - =>
192.168.3/24 192.168.3.1 U 0 2 en0 - -
192.168.3.1 127.0.0.1 UGHS 7 313 lo0 - -
192.168.3.255 192.168.3.1 UHSb 0 4 en0 - -
192.168.7.8 127.0.0.1 UGHS 0 1 lo0 - -
192.232.7.255 192.168.7.8 UHSb 0 4 en1 - -

Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 - -

# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.14.5e.97.1.14 215 0 561 3 0
en0 1500 192.168.3 192.168.3.1 215 0 561 3 0
en1 1500 link#3 0.14.5e.97.1.15 37254 0 27106 7 0
en1 1500 192.32.7 192.168.7.8 37254 0 27106 7 0
lo0 16896 link#1 655 0 661 0 0
lo0 16896 127 127.0.0.1 655 0 661 0 0
lo0 16896 ::1 655 0 661 0 0


16、执行entstat -d enX检测网卡运行速率与交换机速率是否匹配(网卡速率由10M半工改为自适应时,缺省网关会丢失。更改网卡速率后需要在系统中执行smitty route操作重新激活缺省路由。如果进行网卡速率的调整,请务必小心);
# entstat -d en0
-------------------------------------------------------------
ETHERNET STATISTICS (en0) :
Device Type: 2-Port 10/100/1000 Ba-TX PCI-X Adapter (14108902)
Hardware Address: 00:14:5e:97:01:14

17、执行ping命令检查网络连接状况;

18、执行lsdev -C|grep aio检查异步IO是否可用;
# lsdev -C |grep aio
aio0 Available Asynchronous I/O (Legacy)
posix_aio0 Defined Posix Asynchronous I/O

19、执行lssrc -g cluster查看是否有三个进程均为active状态;
# lssrc -g cluster

20、执行/usr/sbin/cluster/clstat –a查看cluster状态是否正常;

21、检查/etc/hosts,确保双机配置中IP别名不会存在包含关系(share_ip1包含了share_ip);

韩语在线翻译发音22、执行more /usr/es/adm/cluster.logmore /usr/es/sbin/cluster/history/*cat /tmp/hacmp.out检查这三个日志中是否有error或者fail

23、检查7133面板上的指示灯,如果黄灯亮则需要诊断问题;

24HOTspare 磁盘检测
1)、检查是否有raid保护 # smitty ssaraid--->List All Defined SSA RAID Arrays
2)、检查是否有Hot Spare # smitty ssaraid--->List Components in a Hot Spare Poolenergy profile
List All Defined SSA RAID Arrays查看7133对于7133,执行Smitty ssaraid raid状态,正常应该为good状态。
Change/Show U of an SSA对于7133,执行Smitty ssaraid Physical Disk查看7133硬盘状态,正常应该为member或者spare状态
对于FastT,分别登录上两个controller,查看是否有错误日志。

本文发布于:2023-05-31 23:23:14,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/823122.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

下一篇:小作文
标签:是否   检查   速率   网卡   状态   使用   查看   内存
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图