i have to say i was expecting more follow up here, there are some githubs where this stuff is discussed but they are a bit hard to follow
i have finally found time to test debloating on Big Sur - working with csrutil authenticated-root disable - and Monterey, where it seems impossible to do anything on the root partition
sadly, after debloating on bigsur i am unable to clone using any tool like SuperDuper or CCC - this makes testing so much harder!
some new findings around the web:
- Monterey code seem to be compiled with very good tuning:
https://www.phoronix.com/scan.php?page=article&item=macos-12-linux&num=11
Catalina was losing a lot more before:
https://www.phoronix.com/scan.php?page=article&item=macos1015-win10-ubuntu&num=10
Now if only i could debloat it...
- list of process
https://web.archive.org/web/20170222052540/http://triviaware.com/macprocess/all
- "
Finally got the right method to disable/remove MRT.
sudo launchctl disable gui/501/com.apple.MRTa
sudo launchctl remove gui/501/com.apple.MRTa
"
- github with BigSur services:
https://gist.github.com/b0gdanw/40d000342dd1ba4d892ad0bdf03ae6ea
- disabling logging :
https://mjtsai.com/blog/2017/03/13/sierra-logging-spew/
News, tips, tricks and info for Apple iPhone, iPad, Mac, Watch, TV, and more
www.mackungfu.org
anyone with good scripting skills can actually tell wich script is better to disable logging? in the comments i find
"
#!/bin/bash
for i in $(ps -ax -opid=); do echo $I #Uncomment following line… #log config —process=$i —mode ‘level
ff’;
done
"
another one wrote
"
pids=$(ps -e | grep -v -F 'PID' | awk '{print $1}')
for pid in $pids ; do
sudo log config --process=$pid --mode 'level
ff'
done
"
and the last one
"
MacUser
December 11, 2020 8:56 AM
Just wanted to drop this here, there are still some logs being written it seems after using log config but this command will be far more efficient at getting all current PIDs and only running the command on them.
Break down of the command is: run with sudo, get all processes from every user, pipe through awk and return only second column which is the PID, then pipe each PID though xargs which passes it to the log config command.
sudo ps -alA | awk '{ print $2 }' | xargs -I 'log config --process=% --mode "level
ff"'
"