Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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