From 6d12a518f69f950d814eb223fe5bf1ad448dcc34 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 1 Mar 2011 00:50:40 +0000 Subject: linux-tcp-listener-stats: synchronize stdout/stderr We want any pipe readers to see this immediately --- examples/linux-tcp-listener-stats.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/linux-tcp-listener-stats.rb b/examples/linux-tcp-listener-stats.rb index 6497ca1..522882a 100755 --- a/examples/linux-tcp-listener-stats.rb +++ b/examples/linux-tcp-listener-stats.rb @@ -1,5 +1,5 @@ #!/usr/bin/ruby - +$stdout.sync = $stderr.sync = true # this is used to show or watch the number of active and queued # connections on any listener socket from the command line -- cgit v1.2.3-24-ge0c7