Skip to content

list pms

Chris Lowth edited this page Sep 21, 2022 · 5 revisions

list pms, list hosts

Usage:

tbutil [{cred}] list [active|idle] pms [-l|-j|-s ..|-y|-x ..] [-columns ..] [-jsfilter ..] [-q ..] [-scope ..] [-show-targets]
tbutil [{cred}] list [active|idle] hosts [-l|-j|-s ..|-y|-x ..] [-columns ..] [-jsfilter ..] [-q ..] [-scope ..] [-show-targets]

This command lists the hosts (aka: PhysicalMachines) known to the Turbonomic instance.

The -scope option can be used to restrict the list to the hosts in the specified scope. The scope must be specified using it's UUID and may be a group, a cluster - etc.

The -show-targets option instructs the command to include the name of the target be which each of the hosts was discovered.

The -q option allows you to specify a Turbonomic REST API query string to limit the list of returned hosts. Typically this string will be a substring of the host names.

The following set of common formatting options are supported: -l, -j, -s, -y, -x and -columns.

If the -jsfilter option is specified then the tool loads and runs the specified filter script. Only the sub-set of hosts for which the function returns true are included in the listing.

Clone this wiki locally