Sha256: 9008832f649d59a22591762cd6259a18c731f8ebb0dca9b7b7b808c760dd7439

Contents?: true

Size: 328 Bytes

Versions: 17

Compression:

Stored size: 328 Bytes

Contents

namespace :rubber do
  
  namespace :memcached do

    desc "Display status of memcached shared memory"
    task :status, :roles => :memcached do
      rsudo "service memcached status || true"
      rsudo "ps -eopid,user,cmd | grep [m]emcached || true"
      rsudo "netstat -tulpn | grep memcached || true"
    end

  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rubber-2.6.5 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.6.4 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.6.3 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.6.2 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.6.1 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.6.0 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.5.5 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.5.4 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.5.3 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.5.2 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.5.1 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.5.0 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.4.2 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.4.1 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.4.0 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.3.1 templates/memcached/config/rubber/deploy-memcached.rb
rubber-2.3.0 templates/memcached/config/rubber/deploy-memcached.rb