![]() ![]() In other words, Linux running on 64 bit cpu (Scroll to see all flags) More about CPU modes: Sample outputs: 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 nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lmįlags : 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 nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm $ grep -o -w 'lm' /proc/cpuinfo | sort -u Simply type the following grep command and if you see lm in output, you have a 64 bit CPU based system: How do I find out CPU is 32bit or 64bit on a Linux system? NOTE: If you are running 32 bit cpu, you will see 32 bit as output. ![]() You can also use the following command to find out if Linux kernel is running in 32bit or 64bit mode: If you use see i386/i486/i586/i686 it is a 32 bit kernel. X86_64 GNU/Linux indicates that you’ve a 64bit Linux kernel running. Type the following command at the terminal: Example – Find out if running Linux kernel (OS) is 32 or 64 bit ![]() Let us see all commands and examples in details. Execute grep -o -w 'lm' /proc/cpuinfo command to determine if you are using 32 or 64 bit CPU.Run getconf LONG_BIT to see if Linux kernel is 32 or 64 bit.Type uname -a to print system information.How to find if Linux is running on 32-bit or 64-bit /proc/cpuinfo file: Use this file to determine if CPU is 64 bit or 32 bit i.e.uname command: This command prints system information including kernel version and whether kernel (os) is 32 bit or 64 bit.getconf LONG_BIT command: This command check if the OS (kernel) is 32 bit or 64 bit.
0 Comments
Leave a Reply. |