Module: ProxyMgr::Platform::Linux
- Defined in:
- lib/proxymgr/platform/linux.rb
Class Method Summary collapse
Class Method Details
.max_fd ⇒ Object
4 5 6 |
# File 'lib/proxymgr/platform/linux.rb', line 4 def self.max_fd File.readlines('/proc/self/status').find { |x| x =~ /^FDSize:/ }.split(':').last.to_i end |