You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/vendor/bundle/ruby/4.0.0/gems/sidekiq-8.1.2/bin/sidekiqmon

12 lines
243 B

#!/usr/bin/env ruby
require "sidekiq/monitor"
# disable the Redis connection pool logging
Sidekiq.default_configuration.logger.level = :warn
section = "all"
section = ARGV[0] if ARGV.size == 1
Sidekiq::Monitor::Status.new.display(section)