tpm_selftest Command
Purpose
Requests that the Trusted Platform Module (TPM) perform a self-test and report the results.
Syntax
tpm_selftest [ -h ] [ -l [ none | error | info | debug ] ] [ -r ] [ -v ]
Description
The tpm_selftest command requests that the system TPM performs a self-test (through the TPM_SelfTestFull API) and report the results. The -r (or --results) option reports the outcome of the last self-test operation without requesting another test to be run. If the TPM fails the self-test, it enters the failure mode where no commands are accepted. The results are reported in a manufacturer-specific format. The TPM self-test always runs automatically at every boot operation.
Flags
Item | Description |
---|---|
-h (or --help) | Displays the command usage information. |
-l (or --log) [ none | error | info | debug ] | Sets the logging level to none, error, info, or debug as specified. |
-r (or --results) | Reports results only. |
-v (or --version) | Displays the command version information. |