Sidekiq list all jobs [queued + running] : <p>Is there a way to get a list of all the jobs currently in the queue and running? Basically, I want to know if a job of given class is already there, I don't want to insert my other job. I've seen other option but I want to do it this way.</p>

<p>I can see <a href="https://github.com/mperham/sidekiq/wiki/API" rel="noreferrer">here</a> how to get the list of jobs in the queue.</p>

<pre><code>queue = Sidekiq::Queue.new("mailer")
queue.each do |job|
  job.klass # =&gt; 'MyWorker'
end
</code></pre>

<p>from what I understand this will not include processing/running jobs. Any way to get them?</p>
