about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-28 16:29:18 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-28 16:29:18 -0800
commitb080ac88303f31332252aae4b430af5445114b99 (patch)
tree77dcb26d1feb281e0414e46e80b7e39a812e8b50
parent012d2fe51afd46fdddbf62f7ebba5102c7f3361a (diff)
downloadraindrops-b080ac88303f31332252aae4b430af5445114b99.tar.gz
People actually need to load modules manually on older kernels :<
-rw-r--r--README3
-rw-r--r--lib/raindrops/linux.rb4
2 files changed, 7 insertions, 0 deletions
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