File: linux.rb [raindrops-0.12.0 Documentation]

Last Modified
  2014-01-22 23:06:30 +0000
Requires
  - pathname
Trac URL
  http://bogomips.org/raindrops.git/tree/lib/raindrops/linux.rb

## Description

For reporting TCP ListenStats, users of older Linux kernels need to ensure that the the "inet_diag" and "tcp_diag" kernel modules are loaded as they do not autoload correctly. The inet_diag facilities of Raindrops is useful for periodic snapshot reporting of listen queue sizes.

Instead of snapshotting, Raindrops::Aggregate::LastDataRecv may be used to aggregate statistics from `all` accepted sockets as they arrive based on the `last_data_recv` field in Raindrops::TCP_Info