在Elastic Beanstalk上启动/停止sqsd守护程序以查看SQS队列消息 [英] Start/stop sqsd daemon on Elastic Beanstalk to view SQS queue messages

查看:109
本文介绍了在Elastic Beanstalk上启动/停止sqsd守护程序以查看SQS队列消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想先查看一下SQS消息,然后再在我的Elastic Beanstalk实例中被sqsd接收.一旦将ssh插入实例,是否可以将sqsd一起作为服务停止/启动?

I would like to view SQS messages before they get picked up by sqsd on my Elastic Beanstalk intstance. Is there a way, once ssh'ed into the instance, that sqsd can be stopped / started as a service all together?

推荐答案

出于调试目的,您可以通过在实例上运行sudo service aws-sqsd stop来停止sqsd.您可以通过运行sudo service aws-sqsd status来检查状态.请注意,不建议将其用于生产服务,但出于调试目的,您可以尝试使用此方法.

For the purpose of debugging you may stop sqsd by running sudo service aws-sqsd stop on the instance. You can check the status by running sudo service aws-sqsd status. Note this is not recommended for a production service but for the purpose of debugging you may try this.

这篇关于在Elastic Beanstalk上启动/停止sqsd守护程序以查看SQS队列消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆