---
name: "tpm_selftest"
section: "8"
platform: "linux"
package: "tpm-tools"
version: "1.3.9.2-0.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tpm_selftest"
---

# tpm\_selftest(8)

request TPM perform selftest and report

TPM Management - tpm\_selftest

## NAME

tpm\_selftest - request TPM perform selftest and report

## SYNOPSIS

**tpm\_selftest** \[**OPTION**\]

## DESCRIPTION

**tpm\_selftest** requests that the system's TPM perform a self test  (via the TPM\_SelfTestFull API) and report the results. The **--results**  option reports the outcome of the last self test operation without requesting that another test be executed. If the TPM fails the self test, it enters  failure mode where no commands are accepted. The results are reported in a  manufacturer specific format. The TPM's self test is always executed  automatically at every boot.

- **-h**, **--help**

  Display command usage info.

- **-v**, **--version**

  Display command version info.

- **-l**, **--log** \[none\|error\|info\|debug\]

  Set logging level.

- **-r**, **--results**

  Report results only.

## SEE ALSO

[**tpm\_version**(1)](/tpm_version/1.md), [**tpm\_takeownership**(8)](/tpm_takeownership/8.md), [**tpm\_setownable**(8)](/tpm_setownable/8.md), [**tcsd**(8)](/tcsd/8.md)

## REPORTING BUGS

Report bugs to \<trousers-users@lists.sourceforge.net\>
