You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@apex.apache.org by Sunil Parmar <sp...@threatmetrix.com> on 2017/01/13 17:31:51 UTC
apex cli patterns for command list-apps
As in documentation https://apex.apache.org/docs/apex/apex_cli/ ; the com mand list-apps can take a parameter to limit the list of apps. Can someone share examples or documentation of the [pattern] ?
Thanks,
Sunil
Re: apex cli patterns for command list-apps
Posted by AJAY GUPTA <aj...@gmail.com>.
Hi Sunil,
If the pattern you submit is a number, app having the same app-id will be
listed.
If the pattern contains anything else, all apps which contains that pattern
in any of the properties (start time, app-id, app name, current application
state, tracking url, final application status, application tags) will be
listed.
Note that it is not a regular expression.
So for example, to list all killed apps, you can write
list-apps kill
or to list all apps containing 'kafka' in their name you can write
list-apps kafka
Ajay
On Fri, Jan 13, 2017 at 11:01 PM, Sunil Parmar <sp...@threatmetrix.com>
wrote:
> As in documentation https://apex.apache.org/docs/apex/apex_cli/ ; the com
> mand list-apps can take a parameter to limit the list of apps. Can someone
> share examples or documentation of the [pattern] ?
>
> Thanks,
> Sunil
>