Sha256: 3555d4966df0127392d54722eaa0fe30a2392b0910bd45406cd981e8ec38df25

Contents?: true

Size: 137 Bytes

Versions: 5

Compression:

Stored size: 137 Bytes

Contents

# frozen_string_literal: true

class RubyStatsPsm
  def uw_httpconns
    execute_command("netstat -an | grep :80 |wc -l").to_i
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
psm-ruby-stats-1.1.0 lib/rubystats_psm/linux.rb
psm-ruby-stats-1.0.4 lib/rubystats_psm/linux.rb
psm-ruby-stats-1.0.3 lib/rubystats_psm/linux.rb
psm-ruby-stats-1.0.2 lib/rubystats_psm/linux.rb
psm-ruby-stats-1.0.1 lib/rubystats_psm/linux.rb