|
|
@ -180,12 +180,12 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) {
|
|
|
|
break
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
svc := statInfos.SvcType[0:1]
|
|
|
|
|
|
|
|
seqId := s.Seq + svc + randNum
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen)
|
|
|
|
fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen)
|
|
|
|
statInfos.ChangeByteToString(statReads)
|
|
|
|
statInfos.ChangeByteToString(statReads)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
svc := statInfos.SvcType[0:1]
|
|
|
|
|
|
|
|
seqId := s.Seq + svc + randNum
|
|
|
|
|
|
|
|
|
|
|
|
insLog := ""
|
|
|
|
insLog := ""
|
|
|
|
insLog += fmt.Sprintf("seqId:%s\n", seqId)
|
|
|
|
insLog += fmt.Sprintf("seqId:%s\n", seqId)
|
|
|
|
insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime)
|
|
|
|
insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime)
|
|
|
@ -282,11 +282,12 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) {
|
|
|
|
break
|
|
|
|
break
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
svc := statInfos.SvcType[0:1]
|
|
|
|
|
|
|
|
seqId := s.Seq + svc + randNum
|
|
|
|
|
|
|
|
fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen)
|
|
|
|
fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen)
|
|
|
|
statInfos.ChangeByteToString(statReads)
|
|
|
|
statInfos.ChangeByteToString(statReads)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
svc := statInfos.SvcType[0:1]
|
|
|
|
|
|
|
|
seqId := s.Seq + svc + randNum
|
|
|
|
|
|
|
|
|
|
|
|
insLog := ""
|
|
|
|
insLog := ""
|
|
|
|
insLog += fmt.Sprintf("seqId:%s", seqId)
|
|
|
|
insLog += fmt.Sprintf("seqId:%s", seqId)
|
|
|
|
insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime)
|
|
|
|
insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime)
|
|
|
|