Member-only story
One of the best ways to understand your Linux system is by using various commands to gather details about the hardware, operating system, and file structure. In this beginner’s guide, we’ll go over some key commands to inspect your Linux system.
Getting CPU Information
To display details about your CPU architecture, you can use the lscpu
command. This will show information like:
- Number of CPU cores
- CPU model name
- Supported instruction sets
- CPU frequency
- Cache sizes
For example:
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
CPU MHz: 800.084
Cache size: 6 MB
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm…