PROPHET/OS
NAME
cpu: shows the processor
SYNOPSIS
cpu [-f|-a] [--tui]
DESCRIPTION
Shows the processor: what it is and the state of its cores.
The title says the brand string, the vendor, family, model and stepping, how many cores there are, how many features the kernel found and what one thread of saved vector state costs. Below it stands one row per core with its APIC id, its real core, its thread and its clock.
The clock is measured and not the one out of the name: between the two lie turbo, heat and the question what the neighbour is computing. A dash means this core has not measured yet, and not that it stands still. A parked core stands grey.
Kind says what kind of core it is, and each core answers for itself: on a hybrid processor these are the performance and the efficiency cores, which have different clocks and different caches, so a row that named the core and not its kind said nothing about which of the two it showed. The answer comes out of CPUID leaf 0x1A on that core; a processor that does not sort its cores says x86-64, and a kind this program has never heard of prints as its number instead of being swallowed (R12-KOPF-05).
-f shows the features it has instead of the cores, -a every feature including the missing ones. That list is what the kernel really detected and not what somebody wrote down: every instruction from an extension sits behind a query, and this is that query's answer.
--tui takes the whole screen and keeps the table live; the arrows and the two page keys move in it, q leaves. Both shapes show the same table, and that is why they cannot drift apart: it stands once, in lib/os/board.c.
It was hw cpu until 2026-10-02, one of four subjects behind one name.
EXAMPLE
$ cpu Intel(R) Xeon(R) W-11955M CPU @ 2.60GHz, GenuineIntel, family 6, model 141, stepping 1, 8 cores, 89 features, XSAVE 2696 bytes per thread Core APIC Real Thread MHz State Kind 0 0 0 0 - core x86-64 1 1 0 1 - sibling x86-64 2 2 1 0 - core x86-64 3 3 1 1 - sibling x86-64 4 4 2 0 - core x86-64 5 5 2 1 - sibling x86-64 6 6 3 0 - core x86-64 7 7 3 1 - sibling x86-64