Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top