{"id":1122,"date":"2025-08-16T13:27:29","date_gmt":"2025-08-16T11:27:29","guid":{"rendered":"https:\/\/pcmacb.de\/?page_id=1122"},"modified":"2026-09-22T10:53:51","modified_gmt":"2026-09-22T08:53:51","slug":"macos","status":"publish","type":"page","link":"https:\/\/pcmacb.de\/?page_id=1122","title":{"rendered":"MacOS"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">es gibt einige interessante Dinge, wie man einen Mac PC oder Macbook wirklich gut benutzen kann, wenn ich auch zugeben muss, dass ich die Dateiverwaltung unertr\u00e4glich finde, u.a. weil man nie wei\u00df, wo etwas hingespeichert wird oder ich nicht einsehen kann, warum Bilder oder Musik in einer Datenbank verschwinden, die sich dann als einfache Archive entpuppen, genau so wie die &#8222;Apps&#8220;. Nun ja, Geschmackssache halt.<br>Hier versuche ich einmal zusammen zu tragen, wie man das Arbeiten damit vereinfachen kann, denn die Zusammenstellung der Hardware beispielsweise ist immer noch sehr gut und auf \u00e4lteren Macs mit Intel Prozessoren lassen sich ganz gut Linux Distributionen installieren \ud83d\ude09 So bin ich dann tats\u00e4chlich in den letzen Jahren etwas auf den Geschmack gekommen. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Soll wach bleiben! <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">ACHTUNG! Es muss manuell wieder abgeschaltet werden.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo pmset -a disablesleep 1\nsudo pmset -a disablesleep 0<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">CPULIMIT compilen:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">git clone <a href=\"https:\/\/github.com\/opsengine\/cpulimit.git\">https:\/\/github.com\/opsengine\/cpulimit.git<\/a><br>cd cpulimit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">es BRICHT MIT ERROR AB!!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i '' '1i\\<br>#include &lt;libgen.h&gt;<br>' .\/src\/process_group.c<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">make<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sudo cp src\/cpulimit \/usr\/local\/bin\/<br>cd src &amp;&amp; \/Library\/Developer\/CommandLineTools\/usr\/bin\/make clean<br>rm -f *~ *.o cpulimit<br>cd tests &amp;&amp; \/Library\/Developer\/CommandLineTools\/usr\/bin\/make clean<br>rm -f *~ *.o busy process_iterator_test<br>cd src &amp;&amp; \/Library\/Developer\/CommandLineTools\/usr\/bin\/make all<br>cc -c list.c -Wall -g -D_GNU_SOURCE<br>cc -c process_iterator.c -Wall -g -D_GNU_SOURCE<br>cc -c process_group.c -Wall -g -D_GNU_SOURCE<br>cc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -Wall -g -D_GNU_SOURCE<br>cpulimit.c:46:18: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]<br>46 | #ifdef <strong>APPLE<\/strong> || <strong>FREEBSD<\/strong><br>| ^<br>| \/\/<br>In file included from cpulimit.c:58:<br>.\/memrchr.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]<br>24 | memrchr(s, c, n)<br>| ^<br>2 warnings generated.<br>cd tests &amp;&amp; \/Library\/Developer\/CommandLineTools\/usr\/bin\/make all<br>cc -o busy busy.c -lpthread -Wall -g<br>cc -I..\/src -o process_iterator_test process_iterator_test.c ..\/src\/list.o ..\/src\/process_iterator.o ..\/src\/process_group.o -lpthread -Wall -g<br>process_iterator_test.c:31:18: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]<br>31 | #ifdef <strong>APPLE<\/strong> || <strong>FREEBSD<\/strong><br>| ^<br>| \/\/<br>1 warning generated.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps ax | grep UVR<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">7264 ?? R 365:14.54 \/Applications\/Ultimate Vocal Remover.app\/Contents\/MacOS\/UVR<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cpulimit % cpulimit -l 50 -p 7264<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Process 7264 found<\/p>\n","protected":false},"excerpt":{"rendered":"<p>es gibt einige interessante Dinge, wie man einen Mac PC oder Macbook wirklich gut benutzen kann, wenn ich auch zugeben muss, dass ich die Dateiverwaltung unertr\u00e4glich finde, u.a. weil man nie wei\u00df, wo etwas hingespeichert wird oder ich nicht einsehen <a class=\"more-link\" href=\"https:\/\/pcmacb.de\/?page_id=1122\">weiterlesen&#8230;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1122","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pcmacb.de\/index.php?rest_route=\/wp\/v2\/pages\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcmacb.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pcmacb.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pcmacb.de\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pcmacb.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1122"}],"version-history":[{"count":6,"href":"https:\/\/pcmacb.de\/index.php?rest_route=\/wp\/v2\/pages\/1122\/revisions"}],"predecessor-version":[{"id":1678,"href":"https:\/\/pcmacb.de\/index.php?rest_route=\/wp\/v2\/pages\/1122\/revisions\/1678"}],"wp:attachment":[{"href":"https:\/\/pcmacb.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}