I'm a little confused. The output in your first example looks like it came
from an older version collectl, is that right? Awhile back I changed
things to allow collectl to collect more network stats and so now in brief
format it just shows error counts for 4 different kind of network stats. To
get the specific fields, of which there are now well over 50, you need to
specify a filter for the type of data you're interested in using
--tcpfilt. Furthermore you need to tell collectl to report in --verbose
rather than brief. This data is now reported as TCP Extended stats which
you access via --tcpfilt T.
To make things a little more complicated, sorry about this, since there is
so much data and wanting to use fixed width fields I needed to come up with
different names that were also more reflective of the data elements, which
you can see if you look at /proc/net/snmp. and /proc/net/netstat.
Looking more closely at both the code and the description of the output in
http://collectl.sourceforge.net/Data-verbose.html I can see where
making/documenting all those changes has led to some confusion.
specifically, look at this:
mjs@blkjak:~$ collectl -c1 -st --tcpfilt T --verbose
waiting for 1 second sample...
# TCP STACK SUMMARY (/sec)
#<------------------------------------------TcpExt----------------------------------------->
# FasTim Reject DelAck QikAck PktQue PreQuB HdPdct AkNoPy PreAck DsAcks
RUData REClos SackS
0 0 0 0 0 0 0 1 0 0
0 0 0
As it turns out, PureAcks and HPAcks are now the AkNoPy and PreAck fields.
I've no idea why I called them that but can certainly clean up the
documentation to say so. Also as for loss and fastretrans, I'm not
reporting them at all here but do so in plot format. I'm not really sure
how that happened:
collectl -c1 -st -P
waiting for 1 second sample...
#Date Time [TCP]IpErr [TCP]TcpErr [TCP]UdpErr [TCP]IcmpErr [TCP]Loss
[TCP]FTrans
20161028 10:33:04 0 0 0 0 0 0
This will take some more thinking on my part. Sorry about all this...
-mark
On Fri, Oct 28, 2016 at 7:43 AM, <[email protected]> wrote:
> Dear Mark,
>
> How can I get this read out from collectl?
>
> [root@poker ~]# collectl -st
> waiting for 1 second sample...
> #<------------TCP------------->
> #PureAcks HPAcks Loss FTrans
> 3 0 0 0
> 1 0 0 0
>
> When I run this I have,
>
> # collectl -s t
> waiting for 1 second sample...
> #<-------TCP-------->
> # IP Tcp Udp Icmp
> 0 0 0 0
> 0 0 0 0
> 0 0 0 0
>
>
> Version #
> # *collectl -v*
> collectl V4.1.0-1 (zlib:2.021)
>
> Thanks for letting me know.
>
> Kind regards,
> Sophie Loewenthal
>
> Server Infrastructure
> Smals.be
>
>
> <http://www.smals.be/>
>
>
> ------------------------------
>
>
> Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in
> haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur
> of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.
> Indien dit bericht niet voor u bestemd is, verzoeken wij u dit
> onmiddellijk aan ons te melden en het bericht te vernietigen.
>
> Conformément aux dispositions relatives à la représentation de l'asbl dans
> ses statuts, seul l'administrateur délégué, le directeur général ou son
> mandataire exprès est habilité à souscrire des engagements au nom de Smals.
> Si ce message ne vous est pas destiné, nous vous prions de nous le
> signaler immédiatement et de détruire le message.
>
> According to the provisions regarding representation of the non profit
> association in its bylaws, only the chief executive officer, the general
> manager or his explicit agent can enter into engagements on behalf of Smals.
> If you are not the addressee of this message, we kindly ask you to signal
> this to us immediately and to delete the message.
>
>
>
> ------------------------------------------------------------
> ------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> Collectl-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/collectl-interest
>
>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Collectl-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/collectl-interest