<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/beanstalk/statistics_table_printer.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -59,6 +59,10 @@ module Beanstalk
       end
     end
     
+    def configured_queues
+      @daemons.keys
+    end
+    
     def kill(daemon_name)
       kill_daemon(File.join(@pid_folder, &quot;beanstalk_#{@daemons[daemon_name].port}.pid&quot;))
     end</diff>
      <filename>lib/beanstalk_manager.rb</filename>
    </modified>
    <modified>
      <diff>@@ -53,10 +53,11 @@ begin
       end
     
     when 'status'
-      MANAGER.stats.each do |name, stats|
-        print &quot;-- #{name} queue: &quot;
-        pp stats
-      end
+      require 'beanstalk/statistics_table_printer'
+      
+      queue_manager = Beanstalk::QueueManager.new(CONFIG)
+      stats_printer = Beanstalk::StatisticsTablePrinter.new(queue_manager)
+      puts stats_printer.render(MANAGER.configured_queues)
     
     else
       puts &quot;Usage: beanstalk {start|stop|restart|status} [queue_name]&quot;</diff>
      <filename>script/beanstalk</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +0,0 @@
-# desc &quot;Explaining what the task does&quot;
-# task :beanstalk_messaging do
-#   # Task goes here
-# end
\ No newline at end of file</diff>
      <filename>tasks/beanstalk_messaging_tasks.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4a90ecea9bd9271bd06987920cab110a9a94558b</id>
    </parent>
  </parents>
  <author>
    <name>lukeredpath</name>
    <email>lukeredpath@53438b35-87ee-0310-8825-c8c94c0097b6</email>
  </author>
  <url>http://github.com/lukeredpath/beanstalk-messaging/commit/a58a617d8cc13bf00b146e052f09c449ab706e7f</url>
  <id>a58a617d8cc13bf00b146e052f09c449ab706e7f</id>
  <committed-date>2008-01-14T07:13:08-08:00</committed-date>
  <authored-date>2008-01-14T07:13:08-08:00</authored-date>
  <message>A basic statistics printer for the configured beanstalk instances

git-svn-id: http://svn/repos/plugins/beanstalk_messaging@8547 53438b35-87ee-0310-8825-c8c94c0097b6</message>
  <tree>cf619745be6ede1ce82eb280213fe08b8d7d8ce7</tree>
  <committer>
    <name>lukeredpath</name>
    <email>lukeredpath@53438b35-87ee-0310-8825-c8c94c0097b6</email>
  </committer>
</commit>
