If no arguments were given for`dcos task log` and `dcos task ls`, we were processing the command as `dcos task` with task-id log|ls.
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
Description:
|
|
Manage DC/OS tasks.
|
|
|
|
Usage:
|
|
dcos task --help
|
|
dcos task --info
|
|
dcos task log [--completed --follow --lines=N] [<task>] [<file>]
|
|
dcos task ls [--long --completed] [<task>] [<path>]
|
|
dcos task [--completed --json <task>]
|
|
|
|
Command:
|
|
log
|
|
Print the task log. By default, the 10 most recent task logs from stdout
|
|
are printed.
|
|
ls
|
|
Print the list of files in the Mesos task sandbox.
|
|
|
|
Options:
|
|
--completed
|
|
Print completed and in-progress tasks.
|
|
-h, --help
|
|
Print usage.
|
|
--info
|
|
Print a short description of this subcommand.
|
|
--follow
|
|
Dynamically update the log.
|
|
--json
|
|
Print JSON-formatted list of tasks.
|
|
--lines=N
|
|
Print the last N lines. The default is 10 lines.
|
|
--long
|
|
Print full Mesos sandbox file attributes.
|
|
--version
|
|
Print version information.
|
|
|
|
Positional Arguments:
|
|
<file>
|
|
Specify the sandbox file to print. The default is stdout.
|
|
<path>
|
|
The Mesos sandbox directory path. The default is '.'.
|
|
<task>
|
|
A full task ID, a partial task ID, or a regular expression.
|