1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-16 19:35:26 +02:00
tldr/pages/linux/lscpu.md
2025-05-05 22:12:17 +05:30

28 lines
559 B
Markdown

# lscpu
> Display information about the CPU architecture.
> More information: <https://manned.org/lscpu>.
- Display information about all CPUs:
`lscpu`
- Display information in a table:
`lscpu {{[-e|--extended]}}`
- Display only information about online CPUs in a table:
`lscpu {{[-e|--extended]}} {{[-b|--online]}}`
- Display only information about offline CPUs in a table:
`lscpu {{[-e|--extended]}} {{[-c|--offline]}}`
- Display details about CPU caches:
`lscpu {{[-C|--caches]}}`
- Display information in JSON format:
`lscpu {{[-J|--json]}}`