File: sidekiqmon

package info (click to toggle)
ruby-sidekiq 7.3.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 956 kB
  • sloc: ruby: 6,094; javascript: 526; makefile: 21; sh: 20
file content (11 lines) | stat: -rwxr-xr-x 243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/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)