Guest User

Untitled

a guest
Jun 18th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/usr/bin/ruby -w
  2.  
  3. require 'socket'
  4.  
  5. ctl=UNIXSocket.new("/tmp/proxystats")
  6.  
  7. ctl.puts "#{ARGV}"
  8.  
  9. while (line = ctl.gets) do
  10. puts line
  11. end
  12.  
  13. ctl.close
Add Comment
Please, Sign In to add comment