title: How to list the queued items in celery?
body: <p>I have a Django project on an Ubuntu EC2 node, which I have been using to set up an asynchronous using <code>Celery</code>. </p>
  
  <p>I am following <a href="http://michal.karzynski.pl/blog/2014/05/18/setting-up-an-asynchronous-task-queue-for-django-using-celery-redis/" rel="noreferrer">http://michal.karzynski.pl/blog/2014/05/18/setting-up-an-asynchronous-task-queue-for-django-using-celery-redis/</a> along with the docs. </p>
  
  <p>I've been able to get a basic task working at the command line, using:</p>
  
  <pre><code>(env1)ubuntu@ip-172-31-22-65:~/projects/tp$ celery --app=myproject.celery:app worker --loglevel=INFO
  </code></pre>
  
  <p>I just realized, that I have a bunch of tasks in my queue, that had not executed:</p>
  
  <pre><code>[2015-03-28 16:49:05,916: WARNING/MainProcess] Restoring 4 unacknowledged message(s).
  (env1)ubuntu@ip-172-31-22-65:~/projects/tp$ celery -A tp purge
  WARNING: This will remove all tasks from queue: celery.
           There is no undo for this operation!
  
  (to skip this prompt use the -f option)
  
  Are you sure you want to delete all tasks (yes/NO)? yes
  Purged 81 messages from 1 known task queue.
  </code></pre>
  
  <p>How do I get a list of the queued items from the command line?</p>