.put("sys/tcp/passiveOpens", tcp.getPassiveOpens()) .put("sys/tcp/attemptFails", tcp.getAttemptFails()) .put("sys/tcp/estabResets", tcp.getEstabResets()) .put("sys/tcp/in/segs", tcp.getInSegs()) .put("sys/tcp/in/errs", tcp.getInErrs())
tcp.getPassiveOpens(), tcp.getAttemptFails(), tcp.getEstabResets(), tcp.getCurrEstab(), tcp.getInSegs(),
private void outputTcpStats() throws SigarException { Tcp stat = this.sigar.getTcp(); final String dnt = " "; println(dnt + stat.getActiveOpens() + " active connections openings"); println(dnt + stat.getPassiveOpens() + " passive connection openings"); println(dnt + stat.getAttemptFails() + " failed connection attempts"); println(dnt + stat.getEstabResets() + " connection resets received"); println(dnt + stat.getCurrEstab() + " connections established"); println(dnt + stat.getInSegs() + " segments received"); println(dnt + stat.getOutSegs() + " segments send out"); println(dnt + stat.getRetransSegs() + " segments retransmited"); println(dnt + stat.getInErrs() + " bad segments received."); println(dnt + stat.getOutRsts() + " resets sent"); }
@Override public float poll() { return fixLongValue( sigarWrapper.tcp.getEstabResets() ); } };
.put("sys/tcp/passiveOpens", tcp.getPassiveOpens()) .put("sys/tcp/attemptFails", tcp.getAttemptFails()) .put("sys/tcp/estabResets", tcp.getEstabResets()) .put("sys/tcp/in/segs", tcp.getInSegs()) .put("sys/tcp/in/errs", tcp.getInErrs())
.put("sys/tcp/passiveOpens", tcp.getPassiveOpens()) .put("sys/tcp/attemptFails", tcp.getAttemptFails()) .put("sys/tcp/estabResets", tcp.getEstabResets()) .put("sys/tcp/in/segs", tcp.getInSegs()) .put("sys/tcp/in/errs", tcp.getInErrs())
.put("sys/tcp/passiveOpens", tcp.getPassiveOpens()) .put("sys/tcp/attemptFails", tcp.getAttemptFails()) .put("sys/tcp/estabResets", tcp.getEstabResets()) .put("sys/tcp/in/segs", tcp.getInSegs()) .put("sys/tcp/in/errs", tcp.getInErrs())
.put("sys/tcp/passiveOpens", tcp.getPassiveOpens()) .put("sys/tcp/attemptFails", tcp.getAttemptFails()) .put("sys/tcp/estabResets", tcp.getEstabResets()) .put("sys/tcp/in/segs", tcp.getInSegs()) .put("sys/tcp/in/errs", tcp.getInErrs())
.put("sys/tcp/passiveOpens", tcp.getPassiveOpens()) .put("sys/tcp/attemptFails", tcp.getAttemptFails()) .put("sys/tcp/estabResets", tcp.getEstabResets()) .put("sys/tcp/in/segs", tcp.getInSegs()) .put("sys/tcp/in/errs", tcp.getInErrs())
definitions.add(new Definition("sigar.network.tcp.established.reset", "Resetted connections", "Connection resets received", "count", () -> sigar.getTcp().getEstabResets())); definitions.add(new Definition("sigar.network.tcp.established.current", "Established connections", "Connections established", "count",
tcp.getPassiveOpens(), tcp.getAttemptFails(), tcp.getEstabResets(), tcp.getCurrEstab(), tcp.getInSegs(),
tcp.getPassiveOpens(), tcp.getAttemptFails(), tcp.getEstabResets(), tcp.getCurrEstab(), tcp.getInSegs(),