Sha256: 115d8380d3cc511763d384b77f2840e59eea11af02708c718186187c3b1dbf58

Contents?: true

Size: 226 Bytes

Versions: 270

Compression:

Stored size: 226 Bytes

Contents

class Specinfra::Command::Openbsd::Base::Port < Specinfra::Command::Base::Port
  class << self
    def check_is_listening(port, opts={})
      "netstat -nat -f inet | egrep '((tcp|udp).*\.#{port}.*LISTEN$)'"
    end
  end
end

Version data entries

270 entries across 270 versions & 3 rubygems

Version Path
specinfra-2.58.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.57.5 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.57.4 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.57.3 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.57.2 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.57.1 lib/specinfra/command/openbsd/base/port.rb
specinfra-cisco-2.41.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.57.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.56.1 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.56.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.55.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.54.2 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.54.1 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.54.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.53.1 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.53.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.52.0 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.51.2 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.51.1 lib/specinfra/command/openbsd/base/port.rb
specinfra-2.51.0 lib/specinfra/command/openbsd/base/port.rb