pending_tasks.asciidoc 1.1 KB

1234567891011121314151617181920212223242526272829
  1. [[cat-pending-tasks]]
  2. == cat pending tasks
  3. `pending_tasks` provides the same information as the
  4. <<cluster-pending,`/_cluster/pending_tasks`>> API in a
  5. convenient tabular format. For example:
  6. [source,js]
  7. --------------------------------------------------
  8. GET /_cat/pending_tasks?v
  9. --------------------------------------------------
  10. // CONSOLE
  11. Might look like:
  12. [source,txt]
  13. --------------------------------------------------
  14. insertOrder timeInQueue priority source
  15. 1685 855ms HIGH update-mapping [foo][t]
  16. 1686 843ms HIGH update-mapping [foo][t]
  17. 1693 753ms HIGH refresh-mapping [foo][[t]]
  18. 1688 816ms HIGH update-mapping [foo][t]
  19. 1689 802ms HIGH update-mapping [foo][t]
  20. 1690 787ms HIGH update-mapping [foo][t]
  21. 1691 773ms HIGH update-mapping [foo][t]
  22. --------------------------------------------------
  23. // TESTRESPONSE[s/(\n.+)+/(\\n.+)*/ non_json]
  24. // We can't assert anything about the tasks in progress here because we don't
  25. // know what might be in progress....