1tss2_list(1) General Commands Manual tss2_list(1)
2
3
4
6 tss2_list(1) -
7
9 tss2_list [OPTIONS]
10
12 tss2_list(1) - This command enumerates all objects in the metadata
13 store in a given a path.
14
16 These are the available options:
17
18 · -p, --searchPath STRING:
19
20 The path identifying the root of the search. Optional parameter. If
21 omitted, all entities will be searched.
22
23 · -o, --pathList FILENAME or - (for stdout):
24
25 Returns the colon-separated list of paths. Optional parameter. If
26 omitted, results will be printed to STDOUT.
27
29 This collection of options are common to all tss2 programs and provide
30 information that many users may expect.
31
32 · -h, --help [man|no-man]: Display the tools manpage. By default, it
33 attempts to invoke the manpager for the tool, however, on failure
34 will output a short tool summary. This is the same behavior if the
35 “man” option argument is specified, however if explicit “man” is re‐
36 quested, the tool will provide errors from man on stderr. If the
37 “no-man” option if specified, or the manpager fails, the short op‐
38 tions will be output to stdout.
39
40 To successfully use the manpages feature requires the manpages to be
41 installed or on MANPATH, See man(1) for more details.
42
43 · -v, --version: Display version information for this tool, supported
44 tctis and exit.
45
47 List all entities and print results to stdout
48 tss2_list
49
50 List all entities under the HS path and print results to file
51 tss2_list --searchPath HS --pathList output.file
52
54 0 on success or 1 on failure.
55
57 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
58
60 See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
61
62
63
64tpm2-tools APRIL 2019 tss2_list(1)