From b080ac88303f31332252aae4b430af5445114b99 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 28 Feb 2011 16:29:18 -0800 Subject: doc: mention tcp_diag/inet_diag for old kernels People actually need to load modules manually on older kernels :< --- README | 3 +++ lib/raindrops/linux.rb | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/README b/README index 5ce287f..05b6eee 100644 --- a/README +++ b/README @@ -32,6 +32,9 @@ processes under SMP. instead of parsing /proc/net/tcp to minimize overhead. This was fun to discover and write. +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 + == Install We recommend GCC 4+ (or compatible) to support the diff --git a/lib/raindrops/linux.rb b/lib/raindrops/linux.rb index 6b084b0..0e30c20 100644 --- a/lib/raindrops/linux.rb +++ b/lib/raindrops/linux.rb @@ -1,4 +1,8 @@ # -*- encoding: binary -*- + +# 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 module Raindrops::Linux # The standard proc path for active UNIX domain sockets, feel free to call -- cgit v1.2.3-24-ge0c7