tpm_selftest(8)

πŸ’– tpm_selftest β€” the "hey bestie, run a self test on your TPM" page πŸ’–

okay so real quick: this is tpm_selftest from the TPM Management crew, living in section 8 of the System Manager's Manual. she's a little command with one job and she does it iconically. let's get into it ✨


🌸 NAME 🌸

tpm_selftest β€” request TPM perform selftest and report

like. that's it. that's the whole vibe. you ask the TPM to check itself and then it tells you what happened 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

tpm_selftest [OPTION]

one optional flag situation, no drama, no positional args. we love a low-maintenance queen πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea, bestie: tpm_selftest politely requests that your system's TPM go do a self test β€” and it does this through the TPM_SelfTestFull API β€” and then it reports the results back to you. that's the main character moment.

but wait, there's a plot twist: if you use the --results option, it will just report the outcome of the last self test operation without asking for another test to be run. no rerun, just receipts. πŸ“‹

now for the serious bit, and I need you to hear me on this one:

if the TPM fails the self test, it enters failure mode where no commands are accepted. like, it's not ghosting you, it's genuinely locked up. periodt.

also, the results come back in a manufacturer specific format β€” so every vendor's output is gonna look a little different, iykyk. πŸ™ˆ

and one more thing that's lowkey important: the TPM's self test is always executed automatically at every boot. so this command is you manually asking for it, not the only time it ever happens. the boot already handles that, bestie 🧚

✨ the flags (aka the options) ✨

  • -h, --help β€” display command usage info. classic. the "what do I even do here" button πŸ’–
  • -v, --version β€” display command version info. for when you gotta know which one you're running.
  • -l, --log [none|error|info|debug] β€” set logging level. pick your chatter level: none, error, info, or debug 🌈
  • -r, --results β€” report results only. no new test requested, just the results of the last one πŸ‘‘

🌟 SEE ALSO 🌟

go hang out with her friends, they're all icons:


πŸ’Œ REPORTING BUGS πŸ’Œ

found something cursed? report bugs to <trousers-users@lists.sourceforge.net> β€” the mailing list will take care of you, fr fr 🫢


and that's the whole page, bestie πŸ’œ this one's from the TPM Management era, dated 2005-04-25, and honestly? she still slays. go run your self test, you got this βœ¨πŸŽ€