一、listen+established+time wait+close wait。
listen:SELECT mean("listen") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
established:SELECT mean("established") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
time wait:SELECT mean("time_wait") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
close wait:SELECT mean("close_wait") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
二、sync sent+sync recv+fin wait1+fln wait2+closing+close
sync sent:SELECT mean("syn_sent") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
sync recv:SELECT mean("syn_recv") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
fin wait1:SELECT mean("fin_wait1") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
fin wait2:SELECT mean("fin_wait2") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
closing:SELECT mean("closing") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
close:SELECT mean("close") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source:xsm-tcpstat>
三、last ack
SELECT mean("last_ack") FROM "tcp.stat" WHERE "host" =~ /$machine$/ AND "type" =~ /$type$/ AND $timeFilter GROUP BY time($interval), "host" fill(null) <Panel data source
xsm-tcpstat>