def longtime_add(self,i): post.insert({'status':r.status_code,"creat_time":time.time()}) root@rabbit:/# rabbitmqctl status
Status of node rabbit@rabbit ...
[{pid,232},
{running_applications,[{rabbit,"RabbitMQ","3.6.6"},
{rabbit_common,[],"3.6.6"},
{mnesia,"MNESIA CXC 138 12","4.14.2"},
{os_mon,"CPO CXC 138 46","2.4.1"},
{xmerl,"XML parser","1.3.12"},
{ranch,"Socket acceptor pool for TCP protocols.",
"1.2.1"},
{sasl,"SASL CXC 138 11","3.0.2"},
{stdlib,"ERTS CXC 138 10","3.2"},
{kernel,"ERTS CXC 138 10","5.1.1"}]},
{os,{unix,linux}},
{erlang_version,"Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:2:2] [async-threads:64] [hipe] [kernel-poll:true]\n"},
{memory,[{total,294747360},
{connection_readers,2776264},
{connection_writers,509368},
{connection_channels,6532480},
{connection_other,2148656},
{queue_procs,24164688},
{queue_slave_procs,0},
{plugins,0},
{other_proc,9793744},
{mnesia,77640},
{mgmt_db,0},
{msg_index,52488},
{other_ets,1098736},
{binary,208044976},
{code,17814931},
{atom,752561},
{other_system,20980828}]},
{alarms,[]},
{listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,838957465},
{disk_free_limit,50000000},
{disk_free,10583482368},
{file_descriptors,[{total_limit,1048476},
{total_used,121},
{sockets_limit,943626},
{sockets_used,118}]},
{processes,[{limit,1048576},{used,1231}]},
{run_queue,2},
{uptime,1832},
{kernel,{net_ticktime,60}}]
> > > > an email to rabbitmq-users+unsubscribe@googlegroups.com.
> > > > > > To post to this group, send an email to
> > > > rabbitmq-users@googlegroups.com.
> > > > rabbitm...@googlegroups.com.
root@rabbit:/# rabbitmqctl -q list_queues name messages messages_ready messages_unacknowledged
cel...@i-atbxncfv.celery.pidbox 0 0 0
celery 701918 699887 2031
celeryev.88e4b508-6559-4194-98a2-36874e9741c2 0 0 0
celeryev.10f9ede2-e0fb-4df9-9b95-227c6983b709 0 0 0
celeryev.073840d4-dbb2-4e1c-b0ad-7f2ae0b8cb50 0 0 0
cel...@1e35e1104315.celery.pidbox 0 0 0
> > > > an email to rabbitmq-user...@googlegroups.com.
> > > > an email to rabbitmq-users+unsubscribe@googlegroups.com.
> > > > > > To post to this group, send an email to
> > > > rabbitmq-users@googlegroups.com.
> > > > an email to rabbitmq-user...@googlegroups.com.
> > > > > > To post to this group, send an email to
> > > > rabbitm...@googlegroups.com.
> > > > an email to rabbitmq-users+unsubscribe@googlegroups.com.
> > > > > > To post to this group, send an email to
> > > > rabbitmq-users@googlegroups.com.
> > > > an email to rabbitmq-user...@googlegroups.com.
> > > > > > To post to this group, send an email to
> > > > rabbitm...@googlegroups.com.
> > > > > > For more options, visit https://groups.google.com/d/optout.
> > > > > >
> > > > >
> > > > > --
> > > > > MK
> > > > >
> > > > > Staff Software Engineer, Pivotal/RabbitMQ
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > MK
> > > >
> > > > Staff Software Engineer, Pivotal/RabbitMQ
> > > >
> > > >
> > > > --
> > >
> > > Tony Wang
> > >
> > > Warm Regards
> > >
> >
> > --
> > MK
> >
> > Staff Software Engineer, Pivotal/RabbitMQ
> >
> >
> > --
>
> Tony Wang
>
> Warm Regards
>
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
--Tony Wang