![]() The Vmx (Virtual Machine Extension), indicates that our Intel CPU supports virtual machines. Because of that, any x86−based 64−bit CPU has this flag set, whereas the 32−bit CPU doesn't. The lm flag means that our CPU has support for 64−bit architecture. The most common flags are defined by Intel and appear in many other processors are listed below. Next, let’s take a closer peek at some of the important features that can help us understand exactly what our CPU can do for us. We can see that it printed out our CPU’s specifications including the flags field. ![]() Vapic ept vpid unrestricted_guest ple pmlīugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbdsĪddress sizes : 39 bits physical, 48 bits virtual Vmx flags : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf Xsaves dtherm arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d Tsc_adjust erms invpcid rdseed smap clflushopt intel_pt xsaveopt xsavec xgetbv1 Ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase Xsave rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd Model name : Intel(R) Celeron(R) CPU G3900 2.80GHzįlags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36Ĭlflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lmĬonstant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tscĬpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbgĬx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes It also shows various flags related to the CPU. This includes basic hardware information such as processor type, number of cores, cache size, etc. The /proc/cpuinfo file contains information about all CPUs present on the system. The command will list lots of files, but we're only interested in the cpuinfofile, which happens to be located inside the base folder. r-r-r- 1 root root 0 Dec 02 00:18 zoneinfo r-r-r- 1 root root 0 Dec 02 00:18 vmstat r-r-r- 1 root root 0 Dec 02 00:18 filesystemsĭr-xr-xr-x 5 root root 0 Dec 02 00:18 fs/ r-r-r- 1 root root 0 Dec 02 00:18 diskstats r-r-r- 1 root root 0 Dec 02 00:14 devices r-r-r- 1 root root 0 Dec 02 00:14 cpuinfo r-r-r- 1 root root 0 Dec 02 00:18 consoles Let’s take a look at what’s inside our /proc directory − # ls -halF /proc Most Linux distros store virtual files in the /proc directory We may need root privileges to read some of the files stored in the virtual environment. Unlike a regular document, virtual documents don't take up space on the hard drive and are only created when they're opened. They're kind of lenses through which you can look into the running Linux kernel. By reading them, we can see what’s going on inside the Linux kernel. The Linux kernel supports this feature natively, but other operating systems may not be able to support it.Ī virtual filesystem is a special kind of filesystem available on Linux−powered operating systems. This approach makes it possible to use multiple operating systems on one machine. For example, you can open a text document or image file by specifying its name rather than knowing exactly where it is located. The VFS provides a way to access data without having to know where it actually resides. Virtual FilesĪ virtual file system (VFS) is an abstraction layer that allows us to treat files as if they were stored on a disk drive. ![]() We’ll briefly look at the concept of virtual file systems before we dive into the details of the topic.Īfterward, we’ll discuss the flags obtained from the /proc/cpuinfo virtual directory for different CPU manufacturers such Intel, AMD, and Arm. Note board_info.c.We’ll go through some of the features available on the CPU installed on our computer’s motherboard. This is an issue for me since I use several libraries that reference all of those to differentiate between raspberry pi versions. A quick cat of /proc/cpuinfo shows that there are no references to hardware, model name or revision the way that there is in Raspian. ![]()
0 Comments
Leave a Reply. |