教学文章
Technology Exchange
热门课程
400电话

免费咨询热线
400-090-9964

教学文章

LINUX上RAC中CHM命令的简单示例

时间:2017-08-07 来源:

  查看当前的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

  (以上内容摘于网络,如有侵权,请告之,将第一时间删除)

版权所有@北京神脑资讯技术有限公司(CUUG,中国UNIX用户协会) Copyright ALL Rights Reserved 京ICP备11008061号-1

CUUG旗下网站:www.cuug.com.cn www.cuug.com oracle.cuug.com bbs.cuug.com www.cuug.net

电话:010-59426307 010-59426319 邮政编码:100089

地址:北京市海淀区北清路164号28-38号院