{"id":1267,"date":"2013-03-14T12:41:27","date_gmt":"2013-03-14T10:41:27","guid":{"rendered":"http:\/\/guimi.net\/blogs\/hiparco\/?p=1267"},"modified":"2013-03-27T13:15:45","modified_gmt":"2013-03-27T11:15:45","slug":"conocer-la-arquitectura-de-nuestro-sistema-32-o-64-bits","status":"publish","type":"post","link":"http:\/\/guimi.net\/blogs\/hiparco\/conocer-la-arquitectura-de-nuestro-sistema-32-o-64-bits\/","title":{"rendered":"Conocer la arquitectura de nuestro sistema (32 o 64 bits)"},"content":{"rendered":"<p>Tenemos varias opciones.<\/p>\n<p>Podemos mostrar informaci\u00f3n del sistema <strong>instalado<\/strong> (toda)<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">guimi:~$ uname -a\r\nLinux guimi 2.6.32-5-686 #1 SMP Mon Feb 25 01:04:36 UTC 2013 i686 GNU\/Linux<\/pre>\n<p>O solo el nombre de la arquitectura <strong>instalada<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">guimi:~$ uname -m\r\ni686<\/pre>\n<p>En este caso est\u00e1 instalada la arquitectura &#8220;i686&#8221; que se utiliza 32 bits. Pero es un modo indirecto de saberlo.<\/p>\n<p>Podemos mirar directamente la configuraci\u00f3n del sistema <strong>instalado<\/strong> y ver que los bits del sistema:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">guimi:~$ getconf LONG_BIT\r\n32<\/pre>\n<p>Pero si lo que queremos es conocer la <strong>capacidad<\/strong> de nuestro equipo, podemos consultar el micro:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">guimi:~$ lscpu\r\nArchitecture:          i686\r\nCPU op-mode(s):        32-bit, 64-bit\r\nCPU(s):                2\r\nThread(s) per core:    1\r\nCore(s) per socket:    2\r\nCPU socket(s):         1\r\nVendor ID:             GenuineIntel\r\nCPU family:            6\r\nModel:                 23\r\nStepping:              10\r\nCPU MHz:               1999.000\r\nVirtualization:        VT-x\r\nL1d cache:             32K\r\nL1i cache:             32K\r\nL2 cache:              6144K <\/pre>\n<p>Ya puestos, podemos consultar toda la informaci\u00f3n del micro:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">guimi:~$ cat \/proc\/cpuinfo \r\nprocessor\t: 0\r\nvendor_id\t: GenuineIntel\r\ncpu family\t: 6\r\nmodel\t\t: 23\r\nmodel name\t: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz\r\nstepping\t: 6\r\ncpu MHz\t\t: 1203.000\r\ncache size\t: 2048 KB\r\nphysical id\t: 0\r\nsiblings\t: 2\r\ncore id\t\t: 0\r\ncpu cores\t: 2\r\napicid\t\t: 0\r\ninitial apicid\t: 0\r\nfdiv_bug\t: no\r\nhlt_bug\t\t: no\r\nf00f_bug\t: no\r\ncoma_bug\t: no\r\nfpu\t\t: yes\r\nfpu_exception\t: yes\r\ncpuid level\t: 10\r\nwp\t\t: yes\r\nflags\t\t: 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 arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm\r\nbogomips\t: 5000.20\r\nclflush size\t: 64\r\ncache_alignment\t: 64\r\naddress sizes\t: 36 bits physical, 48 bits virtual\r\npower management:\r\n\r\nprocessor\t: 1\r\nvendor_id\t: GenuineIntel\r\ncpu family\t: 6\r\nmodel\t\t: 23\r\nmodel name\t: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz\r\nstepping\t: 6\r\ncpu MHz\t\t: 1203.000\r\ncache size\t: 2048 KB\r\nphysical id\t: 0\r\nsiblings\t: 2\r\ncore id\t\t: 1\r\ncpu cores\t: 2\r\napicid\t\t: 1\r\ninitial apicid\t: 1\r\nfdiv_bug\t: no\r\nhlt_bug\t\t: no\r\nf00f_bug\t: no\r\ncoma_bug\t: no\r\nfpu\t\t: yes\r\nfpu_exception\t: yes\r\ncpuid level\t: 10\r\nwp\t\t: yes\r\nflags\t\t: 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 arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm\r\nbogomips\t: 5000.05\r\nclflush size\t: 64\r\ncache_alignment\t: 64\r\naddress sizes\t: 36 bits physical, 48 bits virtual\r\npower management:<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Tenemos varias opciones. Podemos mostrar informaci\u00f3n del sistema instalado (toda) guimi:~$ uname -a Linux guimi 2.6.32-5-686 #1 SMP Mon Feb 25 01:04:36 UTC 2013 i686 GNU\/Linux O solo el nombre de la arquitectura instalada guimi:~$ uname -m i686 En este caso est\u00e1 instalada la arquitectura &#8220;i686&#8221; que se utiliza 32 bits. Pero es un modo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,22],"tags":[],"class_list":["post-1267","post","type-post","status-publish","format-standard","hentry","category-gnulinux","category-prompt"],"_links":{"self":[{"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/posts\/1267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/comments?post=1267"}],"version-history":[{"count":14,"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/posts\/1267\/revisions"}],"predecessor-version":[{"id":1290,"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/posts\/1267\/revisions\/1290"}],"wp:attachment":[{"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/media?parent=1267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/categories?post=1267"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/guimi.net\/blogs\/hiparco\/wp-json\/wp\/v2\/tags?post=1267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}