Task Stats¶
The agents task-stats command retrieves Celery task statistics for a specific agent, showing active, reserved, scheduled, and registered task counts.
Parameters¶
| Parameter | Description |
|---|---|
AGENT_NAME |
Agent name (required, positional). |
--output, -o |
Output format: table, json, yaml (default: table). |
๐ฅ๏ธ Basic Usage¶
Usage: easytask agents task-stats [OPTIONS] AGENT_NAME
Get Celery task stats for an agent.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * agent_name TEXT Agent name [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --output -o [table\|json\|yaml] Output format (default: table) โ
โ --help -h Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Example¶
โญโ Task Stats โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Active 3 โ
โ Reserved 1 โ
โ Scheduled 5 โ
โ Registered 12 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโ
โ Task โ Status โ Started โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ data_processing โ ACTIVE โ 2026-05-12 08:00 โ
โ report_generation โ ACTIVE โ 2026-05-12 08:02 โ
โ backup_job โ ACTIVE โ 2026-05-12 08:05 โ
โโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโ