Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (8 sloc) 0.194 kB
#!/usr/bin/env ruby
pattern = ARGV[0] || "memcached|beam.smp|couchjs|moxi"
target = ARGV[1] || "/proc/*/stat"
while true
sleep 1
print `egrep "#{pattern}" #{target}`
$stdout.flush
end
Jump to Line
Something went wrong with that request. Please try again.