Вопрос

I need to figure out the size of the packets on solaris OS. When I run this command:

netstat -in

I get this output in terms of number of packets:

 netstat -in
Ipkts Ierrs    Opkts Oerrs  Coll
2450315175     0 1850696874     0     0
2450315175     0 1850696874     0     0
2450315175     0 1850696874     0     0
2450315175     0 1850696874     0     0
2450315175     0 1850696874     0     0
2450315175     0 1850696874     0     0

Does anybody know the size of the packets in terms of bits/bytes?

Это было полезно?

Решение

netstat doesn't report the packets size.

You can use kstat to retrieve both the number of packets and bytes sent and received in deduce the average packet size.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top