昨天误删了partitions文件夹下面的文件,(一会学习一下如何用github给代码备份)
弄丢了查看各个通道的buffer的脚本,找了一会查看buffer的命令:
查看某个通道的freepages用下面的命令:
is_ls -p part_dk_ef -n DF -R ROS.ROS-Eth-03.DataChannel38 -N -v
查看某个SFI的信息:
is_ls -p part_dk_ef -n DF -R SFI-1 -N -v
查看某个DFM信息:
is_ls -p part_dk_ef -n DF -R DFM-1 -N -v
查看某个L2SV信息:
is_ls -p part_dk_ef -n DF -R L2SV-1 -N -v
查看某个SFO信息:
is_ls -p part_dk_ef -n DF -R SFO-1 -N -v
得到所有的datachannel:
is_ls -p part_dk_ef -n DF |grep "DataChannel"
[lhaaso@cmm03node01 partitions]$ is_ls -p part_dk_ef -n DF -R ROS.ROS-Eth-03.DataChannel38 -N -v Server "DF" contains 1 object(s): DF.ROS.ROS-Eth-03.DataChannel38 <21/2/17 10:13:46.034521> <EthClientSequentialDataChannelInfo> 13 attribute(s): fragmentsServed 27021315 fragmentsMissed 0 fragmentsLost 0 freePages 0 lastL1IdInput 4294967295 wrongMarker 0 wrongSize 0 multipleFragments 0 pollRODs 27021572 pollIRFlags 0 noSpace 2262766046 fragments_input 0 FATAL 2017-Feb-21 10:14:09 [const ISInfoDocument::Attribute& ISInfoDocument::attribute(...) at is/src/infodocument.cc:327] Assertion (it != m_holder.m_attributes.get<1>().end()) failed because invalid position 12 is given Aborted (core dumped) [lhaaso@cmm03node01 partitions]$ is_ls -p part_dk_ef -n DF -R SFI-1 -N -v Server "DF" contains 1 object(s): DF.SFI-1 <21/2/17 10:14:08.840775> <SFI> 30 attribute(s): EventsAssigned 6761058 EventsBuilt 6761010 EventsIncompletelyBuilt 0 EventsDeleted 6761009 InputOccupancy 0.048 OutputOccupancy 0.001 ActualEoERate 156.32562538211 ActualDeletedEventRate 156.32562538211 NumBusyCount 0 NumNonBusyMessages 8585 Buildtime 297.00686314449 Deadtime 0 NumRequests 27044232 ActualRequestRate 628.08869981659 NumReasks 0 NumTimeouts 0 NumFragments 27044042 NumFragmentsNotInserted 0 TrafficShaping 20 EventDuplicWarnings 0 NumMissingL2Results 6761058 NumBCIDErrors 6761009 Payload 3703951.990301 ActualPayloadRate 85.655058973996 FragmentPayload 136959.99979973 EventPayload 547.964 EventsCheckedForMonitoring 0 MonitoredEventCount 0 ActualMonitoredEventRate 0 Number of disabled ROSs 0 [lhaaso@cmm03node01 partitions]$ is_ls -p part_dk_ef -n DF -R DFM-1 -N -v Server "DF" contains 1 object(s): DF.DFM-1 <21/2/17 10:14:36.652733> <DFM> 26 attribute(s): latest GID 27062109 latest L1ID 27062109 LVL2 accepts 27062110 LVL2 rejects 0 assigned events 27062110 built events 27061611 cleared events 27061611 input queue 0 queue occupancy 0 failed assignments 0 reasked events 0 timeout events 0 event duplication warnings 0 unknown L1ID in EoE 0 SFI busy messages 0 SFI non busy messages 34360 deadtime 0 current XOFF 0 number of XOFF 0 Rate of LVL2 accepts 634.95341814264 Rate of LVL2 rejects 0 Rate of assigned events 634.95341814264 Rate of built events 634.75406071151 Rate of cleared events 634.75406071151 Averaging time for rates 10 Number of disabled SFIs 0 [lhaaso@cmm03node01 partitions]$ is_ls -p part_dk_ef -n DF -R L2SV-1 -N -v Server "DF" contains 1 object(s): DF.L2SV-1 <21/2/17 10:15:01.988716> <L2SV> 15 attribute(s): Identity L2SVResource errors 0 disableCnt 0 IntervalXoffFraction 0 accumulatedXoffTime 0 LVL1_events 27070456 LVL2_events 27070456 AcceptedEvents 27070456 RejectedEvents 0 ForcedAccepts 0 Reassigned 0 IntervalTime 10.048852 IntervalEventRate 654.60211181641 AvgEventRate 630.02893066406 FreeL2PUSlotFraction -nan [lhaaso@cmm03node01 partitions]$ is_ls -p part_dk_ef -n DF -R SFO-1 -N -v Server "DF" contains 1 object(s): DF.SFO-1 <21/2/17 10:15:12.373580> <SFO> 9 attribute(s): EventsReceived 0 EventsSaved 0 DataVolumeReceived 0 DataVolumeSaved 0 CurrentEventReceivedRate 0 CurrentDataReceivedRate 0 CurrentEventSavedRate 0 CurrentDataSavedRate 0 SamplingTime 10.029
[lhaaso@cmm03node01 partitions]$ is_ls -p part_dk_ef -n DF |grep "DataChannel" |wc -l
256