1.检查系统CPU使用率--topas,vmstat,sar
Topas Monitor for host: rocaxdsqual EVENTS/QUEUES FILE/TTY
Thu May 24 00:06:21 2012 Interval: 2 Cswitch 1569 Readch 406.1K
Syscall 7105 Writech 1085.7K
CPU User% Kern% Wait% Idle% Physc Entc Reads 64 Rawin 0
ALL 2.0 0.4 0.1 97.5 0.16 2.6 Writes 678 Ttyout 390
Forks 0 Igets 0
Network KBPS I-Pack O-Pack KB-In KB-Out Execs 0 Namei 253
en0 871.7 626.0 317.0 849.6 22.1 Runqueue 1.5 Dirblk 0
lo0 0.0 0.0 0.0 0.0 0.0 Waitqueue 0.0
Disk Busy% KBPS TPS KB-Read KB-Writ PAGING MEMORY
dac1 0.0 1.1K 8.0 0.0 1.1K Faults 241 Real,MB 16384
hdisk9 3.0 1.1K 8.0 0.0 1.1K Steals 0 % Comp 29
hdisk1 3.0 32.5 7.0 0.0 32.5 PgspIn 0 % Noncomp 62
hdisk0 4.0 32.5 7.0 0.0 32.5 PgspOut 0 % Client 62
dac0 0.0 4.0 1.0 0.0 4.0 PageIn 0
hdisk12 0.0 4.0 1.0 0.0 4.0 PageOut 276 PAGING SPACE
hdisk4 0.0 0.0 0.0 0.0 0.0 Sios 276 Size,MB 24576
hdisk5 0.0 0.0 0.0 0.0 0.0 % Used 0
hdisk6 0.0 0.0 0.0 0.0 0.0 NFS (calls/sec) % Free 100
hdisk7 0.0 0.0 0.0 0.0 0.0 ServerV2 0
hdisk8 0.0 0.0 0.0 0.0 0.0 ClientV2 0 Press:
dac0utm 0.0 0.0 0.0 0.0 0.0 ServerV3 0 "h" for help
hdisk2 0.0 0.0 0.0 0.0 0.0 ClientV3 0 "q" to quit
dac1utm 0.0 0.0 0.0 0.0 0.0
hdisk10 0.0 0.0 0.0 0.0 0.0
hdisk23 0.0 0.0 0.0 0.0 0.0
hdisk24 0.0 0.0 0.0 0.0 0.0
hdisk11 0.0 0.0 0.0 0.0 0.0
hdisk3 0.0 0.0 0.0 0.0 0.0
hdisk13 0.0 0.0 0.0 0.0 0.0
Name PID CPU% PgSp Owner
db2bp 782556 1.6 2.1 sganguly
db2bp 540822 0.6 2.1 sganguly
db2 1138848 0.1 1.5 sganguly
xmwlm 172172 0.0 1.2 root
topas 946236 0.0 2.1 LUCI_UCI
java 229570 0.0 13.4 root
sh 929924 0.0 0.5 sganguly
getty 147606 0.0 0.4 root
gil 102450 0.0 0.9 root
sshd 1212638 0.0 0.6 LUCI_UCI
nfsd 299020 0.0 1.8 root
sched 12294 0.0 0.4 root
kulagent 520222 0.0 10.4 root
j2pg 176222 0.0 5.0 root
sendmail 123024 0.0 1.1 root
rpc.lock 389238 0.0 1.2 root
rt-fcpar 163926 0.0 0.4 root
db2 221398 0.0 1.5 sganguly
topas_nm 1245246 0.0 2.7 root
dsmc 364772 0.0 2.0 root
$ vmstat 5 10
System configuration: lcpu=12 mem=16384MB ent=6.00
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------------------
r b avm fre re pi po fr sr cy in sy cs us sy id wa pc ec
1 0 1217979 353417 0 0 0 0 0 0 873 8174 2054 3 0 97 0 0.20 3.4
1 0 1218008 351422 0 0 0 0 0 0 909 9914 2237 3 0 97 0 0.22 3.7
1 0 1218023 349430 0 0 0 0 0 0 925 8540 2147 3 0 97 0 0.21 3.6
1 0 1218007 347458 0 0 0 0 0 0 919 9855 2245 3 0 97 0 0.22 3.7
1 1 1217977 346344 0 0 0 0 0 0 539 5067 1382 2 1 97 0 0.18 3.0
1 0 1218008 344853 0 0 0 0 0 0 683 7627 1766 2 2 96 0 0.27 4.5
2 0 1217972 342911 0 0 0 0 0 0 912 9740 2126 3 1 96 0 0.24 3.9
1 0 1218061 341070 0 0 0 0 0 0 816 9213 2055 3 0 97 0 0.20 3.4
1 0 1218031 340015 0 0 0 0 0 0 500 5048 1344 2 0 98 0 0.12 2.1
1 0 1218074 339971 0 0 0 0 0 0 6 1640 459 0 0 99 0 0.02 0.3
$
2.查看IO使用情况
tty: tin tout avg-cpu: % user % sys % idle % iowait physc % entc
0.0 412.0 1.8 0.2 98.0 0.0 0.1 2.2
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk1 0.0 0.0 0.0 0 0
hdisk0 0.0 0.0 0.0 0 0
dac0 0.0 0.0 0.0 0 0
dac0utm 0.0 0.0 0.0 0 0
dac1 0.0 896.0 7.0 0 4480
dac1utm 0.0 0.0 0.0 0 0
hdisk2 0.0 0.0 0.0 0 0
hdisk3 0.0 0.0 0.0 0 0
hdisk4 0.0 0.0 0.0 0 0
hdisk5 0.0 0.0 0.0 0 0
hdisk6 0.0 0.0 0.0 0 0
hdisk7 0.0 0.0 0.0 0 0
hdisk8 0.0 0.0 0.0 0 0
hdisk9 1.2 896.0 7.0 0 4480
hdisk10 0.0 0.0 0.0 0 0
hdisk11 0.0 0.0 0.0 0 0
hdisk12 0.0 0.0 0.0 0 0
hdisk13 0.0 0.0 0.0 0 0
hdisk14 0.0 0.0 0.0 0 0
hdisk15 0.0 0.0 0.0 0 0
hdisk16 0.0 0.0 0.0 0 0
hdisk17 0.0 0.0 0.0 0 0
hdisk18 0.0 0.0 0.0 0 0
hdisk19 0.0 0.0 0.0 0 0
hdisk20 0.0 0.0 0.0 0 0
hdisk21 0.0 0.0 0.0 0 0
hdisk22 0.0 0.0 0.0 0 0
hdisk23 0.0 0.0 0.0 0 0
hdisk24 0.0 0.0 0.0 0 0
$
3.查看交换空间
$ oslevel -r
5300-09
$ lsps -s
Total Paging Space Percent Used
24576MB 1%
$ lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 24576MB 1 yes yes lv
$
4.查看系统维护等级
$ oslevel -r
5300-09
$
5.查看系统错误日志
$ errpt -d H【硬件错误】
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
BFE4C025 0401141712 P H sysplanar0 UNDETERMINED ERROR
BFE4C025 0401141712 P H sysplanar0 UNDETERMINED ERROR
8B88700A 0314220912 T H hdisk24 CACHE BATTERY CHARGE BELOW 87.5%
8B88700A 0314220912 T H hdisk23 CACHE BATTERY CHARGE BELOW 87.5%
6.查看软件错误信息
$ errpt -d S
$
7.显示设备一般信息
$ lsdev
L2cache0 Available L2 Cache
aio0 Available Asynchronous I/O (Legacy)
appsvg Defined N/A
bos_hd2 Defined N/A
bos_hd4 Defined N/A
bos_hd5 Defined N/A
bos_hd10opt Defined N/A
bos_hd9var Defined N/A
dac0 Available 03-08-02 1814 DS4700 Disk Array Controller
dac1 Available 05-08-02 1814 DS4700 Disk Array Controller
dar0 Available 1814 DS4700 Disk Array Router
en0 Available 06-08 Standard Ethernet Network Interface
en1 Defined 06-09 Standard Ethernet Network Interface
ent0 Available 06-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 06-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
et0 Defined 06-08 IEEE 802.3 Ethernet Network Interface
et1 Defined 06-09 IEEE 802.3 Ethernet Network Interface
fcnet0 Defined 03-08-01 Fibre Channel Network Protocol Device
fcnet1 Defined 05-08-01 Fibre Channel Network Protocol Device
fcs0 Available 03-08 FC Adapter
fcs1 Available 05-08 FC Adapter
fscsi0 Available 03-08-02 FC SCSI I/O Controller Protocol Device
fscsi1 Available 05-08-02 FC SCSI I/O Controller Protocol Device
fslv00 Defined N/A
fslv01 Defined N/A
fslv02 Defined N/A
fslv03 Defined N/A
fslv04 Defined N/A
gxme0 Defined Graphics Data Transfer Assist Subsystem
hd1 Defined N/A
hd2 Defined N/A
hd3 Defined N/A
hd4 Defined N/A
hd5 Defined N/A
hd6 Defined N/A
hd8 Defined N/A
hd10opt Defined N/A
hd9var Defined N/A
hdisk0 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-11,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk3 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk4 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk5 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk6 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk7 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk8 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk9 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk10 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk11 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk12 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk13 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk14 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk15 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk16 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk17 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk18 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk19 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk20 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk21 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk22 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk23 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk24 Available 03-08-02 1814 DS4700 Disk Array Device
inet0 Available Internet Network Extension
iocp0 Defined I/O Completion Ports
iscsi0 Available iSCSI Protocol Device
jfs2log1 Defined N/A
jfs2log2 Defined N/A
jfs2log3 Defined N/A
lo0 Available Loopback Network Interface
lv001 Defined N/A
lv002 Defined N/A
lv003 Defined N/A
lvdd Available LVM Device Driver
mem0 Available Memory
nsmb0 Available N/A
pci0 Available PCI Bus
pci1 Available PCI Bus
pci2 Available PCI Bus
pci3 Available 00-12 PCI Bus
pci4 Available 01-16 PCI Bus
pci5 Available 02-10 PCI Bus
pci6 Available 02-12 PCI Bus
pi_dumplv Defined N/A
posix_aio0 Defined Posix Asynchronous I/O
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
proc6 Available 00-06 Processor
proc8 Available 00-08 Processor
proc10 Available 00-10 Processor
pty0 Available Asynchronous Pseudo-Terminal
rcm0 Defined Rendering Context Manager Subsystem
rootvg Defined N/A
scsi0 Available 04-08 Wide/Ultra-3 SCSI I/O Controller
se_dumplv Defined N/A
ses0 Available 04-08-00-15,0 SCSI Enclosure Services Device
sys0 Available System Object
sysplanar0 Available System Planar
vio0 Available Virtual I/O Bus
vsa0 Available LPAR Virtual Serial Adapter
vty0 Available Asynchronous Terminal
$
8.显示所有磁盘设备
$ lsdev -Cc disk
hdisk0 Available 04-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 04-08-00-11,0 16 Bit LVD SCSI Disk Drive
hdisk2 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk3 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk4 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk5 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk6 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk7 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk8 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk9 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk10 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk11 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk12 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk13 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk14 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk15 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk16 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk17 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk18 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk19 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk20 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk21 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk22 Available 05-08-02 1814 DS4700 Disk Array Device
hdisk23 Available 03-08-02 1814 DS4700 Disk Array Device
hdisk24 Available 03-08-02 1814 DS4700 Disk Array Device
$
9.显示所有磁带设备
$ lsdev -Cc tape
$
10.显示所有适配器同时查看序列号
$ lsdev -Cc adapter
ent0 Available 06-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 06-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
fcs0 Available 03-08 FC Adapter
fcs1 Available 05-08 FC Adapter
scsi0 Available 04-08 Wide/Ultra-3 SCSI I/O Controller
vsa0 Available LPAR Virtual Serial Adapter
11.显示设备属性
$ lsattr -El hdisk0
PCM PCM/friend/scsiscsd Path Control Module False
algorithm fail_over Algorithm True
dist_err_pcnt 0 Distributed Error Percentage True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_interval 0 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
max_transfer 0x40000 Maximum TRANSFER Size True
pvid 00c5ba7eeaccb4ef0000000000000000 Physical volume identifier False
queue_depth 3 Queue DEPTH False
reserve_policy single_path Reserve Policy True
size_in_mb 146800 Size in Megabytes False
unique_id 22080009B4C50BST3146854LC03IBMscsi Unique device identifier False
$
12.显示整机信息
$ lsconf
System Model: IBM,9119-595
Machine Serial Number: 025BA7E
Processor Type: PowerPC_POWER5
Processor Implementation Mode: POWER 5
Processor Version: PV_5_3
Number Of Processors: 6
Processor Clock Speed: 2302 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 12 rocaxdsqual
Memory Size: 16384 MB
Good Memory Size: 16384 MB
Platform. Firmware level: Not Available
Firmware Version: IBM,SF240_320
Console Login: enable
Auto Restart: true
Full Core: true
Network Information
Host Name: xxxxxxxx
IP Address: xx.xx.xx.xx
Sub Netmask: xx.xx.xx.xx
Gateway: xxxxxxxx
Name Server:
Domain Name:
Paging Space Information
Total Paging Space: 24576MB
Percent Used: 1%
Volume Groups Information
==============================================================================
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk1 active 546 212 00..00..00..103..109
hdisk0 active 546 196 00..00..00..87..109
==============================================================================
appsvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 499 10 00..00..00..00..10
hdisk3 active 499 11 00..00..00..00..11
hdisk4 active 499 10 00..00..00..00..10
hdisk5 active 499 11 00..00..00..00..11
hdisk6 active 499 11 00..00..00..00..11
hdisk7 active 499 10 00..00..00..00..10
hdisk8 active 499 11 00..00..00..00..11
hdisk9 active 499 11 00..00..00..00..11
hdisk10 active 499 9 00..00..00..00..09
hdisk11 active 499 11 00..00..00..00..11
hdisk12 active 499 9 00..00..00..00..09
hdisk13 active 499 10 00..00..00..00..10
hdisk14 active 499 10 00..00..00..00..10
hdisk15 active 499 11 00..00..00..00..11
hdisk16 active 499 12 00..00..00..00..12
hdisk17 active 499 12 00..00..00..00..12
hdisk18 active 499 10 00..00..00..00..10
hdisk19 active 499 11 00..00..00..00..11
hdisk20 active 499 11 00..00..00..00..11
hdisk21 active 499 11 00..00..00..00..11
hdisk24 active 599 1 00..00..00..00..01
==============================================================================
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 System Object
+ sysplanar0 System Planar
......
13.查看ROOTVG中是否存在镜像
$ lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 96 192 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 8 16 2 open/syncd /
hd2 jfs2 21 42 2 open/syncd /usr
hd9var jfs2 8 16 2 open/syncd /var
hd3 jfs2 8 16 2 open/syncd /tmp
hd1 jfs2 12 24 2 open/syncd /home
hd10opt jfs2 12 24 2 open/syncd /opt
fslv00 jfs2 1 2 2 open/syncd /DoOnceAIX
fslv01 jfs2 120 240 2 open/syncd /mksysbs
fslv02 jfs2 2 4 2 open/syncd /var/adm/perfmgr
pi_dumplv sysdump 8 8 1 open/syncd N/A
se_dumplv sysdump 8 8 1 open/syncd N/A
fslv03 jfs2 2 4 2 open/syncd /tmpfs
bos_hd5 boot 1 2 2 closed/syncd N/A
bos_hd4 jfs2 8 16 2 closed/syncd /bos_inst
bos_hd2 jfs2 21 42 2 closed/syncd /bos_inst/usr
bos_hd9var jfs2 8 16 2 closed/syncd /bos_inst/var
bos_hd10opt jfs2 4 8 2 closed/syncd /bos_inst/opt
$
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15720542/viewspace-730805/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15720542/viewspace-730805/