2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-11-10 11:31:58 +08:00

[ci skip] Update readme

This commit is contained in:
Ken Hibino 2020-02-05 21:58:05 -08:00
parent 024cfa9fe6
commit 6dd4c688f4
3 changed files with 13 additions and 2 deletions

View File

@ -21,7 +21,7 @@ To install `asynq` library, run the following command:
go get -u github.com/hibiken/asynq go get -u github.com/hibiken/asynq
``` ```
## Quick Start ## Quickstart
First, make sure you are running a Redis server locally. First, make sure you are running a Redis server locally.

BIN
docs/assets/asynqmon_ps.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 KiB

View File

@ -8,6 +8,7 @@ Asynqmon is a command line tool to monitor the tasks managed by `asynq` package.
- [Quick Start](#quick-start) - [Quick Start](#quick-start)
- [Stats](#stats) - [Stats](#stats)
- [History](#history) - [History](#history)
- [Process Status](#process-status)
- [List](#list) - [List](#list)
- [Enqueue](#enqueue) - [Enqueue](#enqueue)
- [Delete](#delete) - [Delete](#delete)
@ -22,7 +23,7 @@ In order to use the tool, compile it using the following command:
This will create the asynqmon executable under your `$GOPATH/bin` directory. This will create the asynqmon executable under your `$GOPATH/bin` directory.
## Quick Start ## Quickstart
The tool has a few commands to inspect the state of tasks and queues. The tool has a few commands to inspect the state of tasks and queues.
@ -56,6 +57,16 @@ Example:
![Gif](/docs/assets/asynqmon_history.gif) ![Gif](/docs/assets/asynqmon_history.gif)
### Process Status
PS (ProcessStatus) command shows the list of running worker processes.
Example:
asynqmon ps
![Gif](/docs/assets/asynqmon_ps.gif)
### List ### List
List command shows all tasks in the specified state in a table format List command shows all tasks in the specified state in a table format