文件内容大概如下:
BBBC,021,hdisk0 00f61a0489cfa916 rootvg active
BBBC,022,hdisk1 00f61a043c020771 oradatavg1
BBBC,023,hdisk2 00f61a0439e8d52e None
BBBC,024,hdisk3 none None
BBBC,025,hdisk4 none None
BBBC,026,hdisk5 none None
BBBC,027,hdisk6 none None
BBBV,000,VOLUME GROUP: rootvg VG IDENTIFIER: 00f61a0400004c000000014692d70ac7
BBBV,001,VG STATE: active PP SIZE: 128 megabyte(s)
BBBV,002,VG PERMISSION: read/write TOTAL PPs: 799 (102272 megabytes)
BBBV,003,MAX LVs: 256 FREE PPs: 4 (512 megabytes)
BBBV,004,LVs: 19 USED PPs: 795 (101760 megabytes)
BBBV,005,OPEN LVs: 16 QUORUM: 2 (Enabled)
BBBV,006,TOTAL PVs: 1 VG DESCRIPTORS: 2
BBBV,007,STALE PVs: 0 STALE PPs: 0
BBBV,008,ACTIVE PVs: 1 AUTO ON: yes
BBBV,009,MAX PPs per VG: 32512
BBBV,010,MAX PPs per PV: 1016 MAX PVs: 32
BBBV,011,LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
BBBV,012,HOT SPARE: no BB POLICY: relocatable
BBBV,013,PV RESTRICTION: none INFINITE RETRY: no
CPU_ALL,CPU Total test1,User%,Sys%,Wait%,Idle%,Busy,PhysicalCPUs
PCPU_ALL,PCPU Total test1,User ,Sys ,Wait ,Idle , Entitled Capacity
SCPU_ALL,SCPU Total test1,User ,Sys ,Wait ,Idle
CPU01,CPU 1 test1,User%,Sys%,Wait%,Idle%
CPU02,CPU 2 test1,User%,Sys%,Wait%,Idle%
CPU03,CPU 3 test1,User%,Sys%,Wait%,Idle%
CPU04,CPU 4 test1,User%,Sys%,Wait%,Idle%
CPU05,CPU 5 test1,User%,Sys%,Wait%,Idle%
CPU06,CPU 6 test1,User%,Sys%,Wait%,Idle%
CPU07,CPU 7 test1,User%,Sys%,Wait%,Idle%
CPU08,CPU 8 test1,User%,Sys%,Wait%,Idle%
PCPU01,PCPU 1 test1,User ,Sys ,Wait ,Idle
PCPU02,PCPU 2 test1,User ,Sys ,Wait ,Idle
PCPU03,PCPU 3 test1,User ,Sys ,Wait ,Idle
PCPU04,PCPU 4 test1,User ,Sys ,Wait ,Idle
想利用shell直接可以生成BBBC,BBBV,CPU,PCPU,SCPU,CPU等类似文件,请各位大神指点一下 |