LINUX上RAC中CHM命令的簡單示例

還不算暈發表於2016-11-20
檢視當前的CHM主、副節點
[grid@bys5 bys5]$ oclumon manage -get master

Master = bys5

 Done
[grid@bys5 bys5]$ oclumon manage -get replica

Replica =

 Done
檢視CHM收集的資訊的保留時間段
[grid@bys5 bys5]$ oclumon manage -get repsize

CHM Repository Size = 61511

 Done
收集15-15:05的CHM的日誌
[grid@bys5 bys5]$ oclumon dumpnodeview -n bys5 -v -s "2016-08-25 15:00:00" -e "2016-08-25 15:05:00" >/tmp/chm.log
資訊示例:
----------------------------------------
Node: bys5 Clock: '08-25-16 15.00.19' SerialNo:1146
----------------------------------------

SYSTEM:
#pcpus: 1 #vcpus: 1 cpuht: N chipname: Intel(R) cpu: 1.98 cpuq: 2 physmemfree: 78484 physmemtotal: 1884188 mcache: 573328 swapfree: 16
03740 swaptotal: 2097148 ior: 33 iow: 46 ios: 13 swpin: 0 swpout: 0 pgin: 33 pgout: 30 netr: 2.980 netw: 2.980 procs: 253 rtprocs: 10
#fds: 18048 #sysfdlimit: 6815744 #disks: 6 #nics: 3  nicErrors: 0

TOP CONSUMERS:
topcpu: 'asm_vktm_+ASM1(3393) 1.39' topprivmem: 'java(3709) 128092' topshm: 'ora_mman_bysrac(3983) 89664' topfd: 'crsd.bin(3446) 144'
topthread: 'crsd.bin(3446) 46'

PROCESSES:

name: 'ora_j001_bysrac' pid: 7047 #procfdlimit: 65536 cpuusage: 0.19 privmem: 4760 shm: 34956 #fd: 15 #threads: 1 priority: 20 nice: 0
name: 'kworker/0:0' pid: 5991 #procfdlimit: 1024 cpuusage: 0.19 privmem: 0 shm: 0 #fd: 2 #threads: 1 priority: 20 nice: 0
…………………………
name: 'ora_arc2_bysrac' pid: 4086 #procfdlimit: 65536 cpuusage: 0.0 privmem: 4944 shm: 5732 #fd: 16 #threads: 1 priority: 20 nice: 0
DEVICES:
dm-1 ior: 0.000 iow: 0.000 ios: 0 qlen: 0 wait: 0 type: SWAP
dm-0 ior: 3.201 iow: 15.806 ios: 3 qlen: 0 wait: 24 type: SYS
sr0 ior: 0.000 iow: 0.000 ios: 0 qlen: 0 wait: 0 type: SYS
sdc ior: 0.000 iow: 0.000 ios: 0 qlen: 0 wait: 0 type: SYS
sdb ior: 26.610 iow: 14.905 ios: 7 qlen: 0 wait: 8 type: SYS
sda ior: 3.201 iow: 15.806 ios: 3 qlen: 0 wait: 24 type: SYS
sda2 ior: 3.201 iow: 15.806 ios: 2 qlen: 0 wait: 26 type: SYS
sda1 ior: 0.000 iow: 0.000 ios: 0 qlen: 0 wait: 0 type: SYS
NICS:
lo netrr: 2.980  netwr: 2.980  neteff: 5.961  nicerrors: 0 pktsin: 2  pktsout: 2  errsin: 0  errsout: 0  indiscarded: 0  outdiscarded:
 0  inunicast: 2  innonunicast: 0  type: PUBLIC
enp0s3 netrr: 0.000  netwr: 0.000  neteff: 0.000  nicerrors: 0 pktsin: 0  pktsout: 0  errsin: 0  errsout: 0  indiscarded: 0  outdiscar
ded: 0  inunicast: 0  innonunicast: 0  type: PUBLIC
enp0s8 netrr: 0.000  netwr: 0.000  neteff: 0.000  nicerrors: 0 pktsin: 0  pktsout: 0  errsin: 0  errsout: 0  indiscarded: 0  outdiscar
ded: 0  inunicast: 0  innonunicast: 0  type: PRIVATE latency: <1

FILESYSTEMS:
mount: / type: rootfs total: 49746196 used: 14437432 available: 35308764 used%: 29 ifree%: 99 [ORACLE_HOME bysrac1]

PROTOCOL ERRORS:
IPHdrErr: 0 IPAddrErr: 0 IPUnkProto: 0 IPReasFail: 0 IPFragFail: 0 TCPFailedConn: 9 TCPEstRst: 4 TCPRetraSeg: 0 UDPUnkPort: 260 UDPRcv
Err: 0  

----------------------------------------
Node: bys5 Clock: '08-25-16 15.00.24' SerialNo:1147
----------------------------------------

SYSTEM:
#pcpus: 1 #vcpus: 1 cpuht: N chipname: Intel(R) cpu: 2.63 cpuq: 1 physmemfree: 7

相關文章