Skip to content

Retrieving servers info #397

Answered by hibiken
JoanGTSQ asked this question in Q&A
Feb 15, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @JoanGTSQ, thank you for posting a question.

There are a few ways:

  • via Web UI
  • via CLI
  • via Inspector type (programmatically)

Note:
Also, the term "worker" is overloaded in Asynq. At macro level, it refers to a process running asynq.Server. At micro level, it refers to a goroutine processing a task (e.g. a Server can have multiple workers processing multiple tasks). Either way all three methods listed above can show you the count of "workers".

via Web UI

Navigate to the "Servers" tab in the sidebar:

via CLI

Run the following command:

asynq server ls

via Inspector type (programmatically)

Use Inspector.Servers.


Let me know if you have more questions!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JoanGTSQ
Comment options

Answer selected by JoanGTSQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants