OpenSearch/docs/reference/cat/pending_tasks.asciidoc

30 lines
1.1 KiB
Plaintext
Raw Normal View History

2013-11-29 02:08:54 -05:00
[[cat-pending-tasks]]
== cat pending tasks
2013-11-29 02:08:54 -05:00
`pending_tasks` provides the same information as the
<<cluster-pending,`/_cluster/pending_tasks`>> API in a
convenient tabular format. For example:
2013-11-29 02:08:54 -05:00
[source,js]
--------------------------------------------------
GET /_cat/pending_tasks?v
--------------------------------------------------
// CONSOLE
Might look like:
[source,txt]
2013-11-29 02:08:54 -05:00
--------------------------------------------------
insertOrder timeInQueue priority source
1685 855ms HIGH update-mapping [foo][t]
1686 843ms HIGH update-mapping [foo][t]
1693 753ms HIGH refresh-mapping [foo][[t]]
1688 816ms HIGH update-mapping [foo][t]
1689 802ms HIGH update-mapping [foo][t]
1690 787ms HIGH update-mapping [foo][t]
1691 773ms HIGH update-mapping [foo][t]
--------------------------------------------------
// TESTRESPONSE[s/(\n.+)+/(\\n.+)*/ non_json]
// We can't assert anything about the tasks in progress here because we don't
// know what might be in progress....