문제

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