I have an old Mac mini that is now on MacOS Catalina. It is quite slow and tends to slow down over time. Years ago, I upped the RAM to 16 Gb, and that helped a lot to boost performance, but that effect seems to have faded. I know I can get an SSD also but I'm wondering if there may be any other issues.
I thought it may be good to see why sometimes it takes 10-20 seconds from when I type a git command in Terminal, to when the response comes. Perhaps there is a bottleneck somewhere. I googled and found this link that points to this blog post on Dtrace, so I tried to use Dtrace related tools. sudo iosnoop, however, gives the following message:
dtrace: system integrity protection is on, some features will not be available
I found also this q&a with some suggested command line tools like vm_stat 900 and iostat 900, but they don't seem to provide as much useful info as what Dtrace does?
So, the immediate question is, how to get the Dtrace tools working on MacOS Catalina?
dtrace, but disabling SIP and running this should work to ensure it has total control on Catalina. https://forums.developer.apple.com/thread/51713 – bmike Jun 13 '20 at 13:57