9729 kstat not exposing non-global zone stat counters
Review Request #1474 — Created Feb. 14, 2019 and submitted — Latest diff uploaded
Information | |
---|---|
cneira | |
illumos-gate | |
master | |
9729 | |
7e0e157... | |
Reviewers | |
general | |
This patch addresses : https://www.illumos.org/issues/9729
I took the changes done by Alasdair Lumsden to expose stat counters for the following modules :
icmp
ip
ip6
sctp
udp
cneira@Trixie:/build/illumos-omnios$ zoneadm list -icv
ID NAME STATUS PATH BRAND IP
0 global running / ipkg shared
1 t0 running /zcage/vms/t0 lx excl
- 9e19b8ed-ad9c-4284-a948-3cf803aaa3e0 configured /zcage/vms/9e19b8ed-ad9c-4284-a948-3cf803aaa3e0 lx excl
- 1fd17810-1517-47ad-8389-3557b74bdb11 configured /zcage/vms/1fd17810-1517-47ad-8389-3557b74bdb11 lx excl
- lxvm0 configured /zcage/vms/lxvm0 lx excl
- lxvm configured /zcage/vms/lxvm lx excl
- lxvm2 configured /zcage/vms/lxvm2 lx excl
- l1 configured /zcage/vms/l1 lx excl
cneira@Trixie:/build/illumos-omnios$ kstat -p ip::icmp:outMsgs
ip:0:icmp:outMsgs 0
ip:1:icmp:outMsgs 0
cneira@Trixie:/build/illumos-omnios$ kstat -p udp::udp:inDatagrams
udp:0:udp:inDatagrams 33
udp:1:udp:inDatagrams 0
cneira@Trixie:/build/illumos-omnios$ kstat -p tcp::tcp:inAckBytes
tcp:0:tcp:inAckBytes 321216
tcp:1:tcp:inAckBytes 0
omnios$ kstat -p sctp::sctp:sctpRtoMax
sctp:0:sctp:sctpRtoMax 60000
sctp:1:sctp:sctpRtoMax 60000