{"id":12437,"date":"2018-12-31T00:01:38","date_gmt":"2018-12-30T23:01:38","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=12437"},"modified":"2022-01-07T17:02:15","modified_gmt":"2022-01-07T16:02:15","slug":"laeuft-der-raspberry-pi-am-silvester-plansilvester-new-years-eve-mit-32-bit-oder-mit-64-bit","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=12437","title":{"rendered":"L\u00e4uft der Raspberry Pi  am Silvester (Plansilvester, New Year&#8217;s Eve)  mit 32-Bit oder mit 64-Bit?"},"content":{"rendered":"<p>L\u00e4uft der Raspberry Pi am Silvester mit 32-Bit oder mit 64-Bit? Diese Frage kann man mit den folgenden Befehlen kl\u00e4ren. <\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Silvester-vs-Sylvester.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Silvester-vs-Sylvester-1024x744.png\" alt=\"\" width=\"525\" height=\"381\" class=\"aligncenter size-large wp-image-12451\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Silvester-vs-Sylvester-1024x744.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Silvester-vs-Sylvester-300x218.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Silvester-vs-Sylvester-768x558.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Silvester-vs-Sylvester.png 1908w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p>Zuerste mal ein paar allgemeinen Infos mit <strong>lscpu<\/strong> anschauen:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.50.50.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.50.50.png\" alt=\"\" width=\"695\" height=\"351\" class=\"aligncenter size-full wp-image-12438\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.50.50.png 695w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.50.50-300x152.png 300w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>oder auch <strong>cat \/proc\/cpuinfo<\/strong><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/wenzlaff.de-2022-01-07-um-16.59.21.png\" alt=\"\" width=\"1298\" height=\"624\" class=\"aligncenter size-full wp-image-18980\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/wenzlaff.de-2022-01-07-um-16.59.21.png 1298w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/wenzlaff.de-2022-01-07-um-16.59.21-300x144.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/wenzlaff.de-2022-01-07-um-16.59.21-1024x492.png 1024w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/wenzlaff.de-2022-01-07-um-16.59.21-768x369.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>Dann wissen wir schon den CPU Typ usw. Aber nun zu der Frage 32 oder 64-Bit. Daf\u00fcr reicht ein Abfragen von Systemvariablen. <\/p>\n<p>Die k\u00f6nnen alle mit <strong>getconf<\/strong> abgefragt werden. Z.b. werden alle Systemvariablen ausgeben mit <strong>getconf -a<\/strong>:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.02.13.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.02.13.png\" alt=\"\" width=\"512\" height=\"354\" class=\"aligncenter size-full wp-image-12442\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.02.13.png 512w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.02.13-300x207.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<p>Das sind aber nun wirklich zuviele auf einmal.<\/p>\n<p>Nun suchen wir uns mit grep mal alle Variablen die BIT enthalten:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.04.24.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.04.24.png\" alt=\"\" width=\"895\" height=\"251\" class=\"aligncenter size-full wp-image-12445\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.04.24.png 895w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.04.24-300x84.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-10.04.24-768x215.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>und nun wissen wir wie die Variable hei\u00dft: <strong>LONG_BIT<\/strong><\/p>\n<p>Jetzt k\u00f6nnen wir auch nur diese eine Variable mit getconf LONG_BIT abfragen um die Antwort zu erhalten:<\/p>\n<p>Mit <strong>getconf LONG_BIT<\/strong> bekommen wir die Antwort: <strong>32<\/strong> Bit<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.53.21.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.53.21.png\" alt=\"\" width=\"369\" height=\"56\" class=\"aligncenter size-full wp-image-12440\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.53.21.png 369w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/12\/Bildschirmfoto-2018-12-30-um-09.53.21-300x46.png 300w\" sizes=\"auto, (max-width: 369px) 100vw, 369px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>L\u00e4uft der Raspberry Pi am Silvester mit 32-Bit oder mit 64-Bit? Diese Frage kann man mit den folgenden Befehlen kl\u00e4ren. Zuerste mal ein paar allgemeinen Infos mit lscpu anschauen: oder auch cat \/proc\/cpuinfo<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,3083,79,1023,2752,7],"tags":[3486,3489,3487,3488,3490,3492,230,3491,3493,2379,1032],"class_list":["post-12437","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-information","category-programmierung","category-raspberry-pi","category-raspberry-pi-zero-w","category-tools","tag-3486","tag-32-bit","tag-3487","tag-64-bit","tag-getconf","tag-letzter-tag-im-jahr","tag-linux","tag-papst-silvester","tag-plansilvesterpi","tag-silvester","tag-system"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/12437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12437"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/12437\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12437"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12437"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}