On Solaris 10 say I wanted to capture the total bytes TCP bytes received and sent.

Using netstat -s, it seems like the sum of these 2 values gives the total TCP bytes in:

tcpInInorderBytes   =821116956
tcpInUnorderBytes   =803451

While this value gives me the total TCP bytes out:

tcpOutDataBytes     =481714121

Would that be a correct assumption, or am I missing something?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

You are correct, input bytes is the sum of tcpInInorderBytes + tcpInUnorderBytes and the output bytes is tcpOutDataBytes

link|improve this answer
Excellent, thanks – Hoofamon Nov 10 '11 at 3:57
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.