Some system processes like systemsoundservd, logd, diagnosticd, etc. recently use a lots of cpu on my macbook pro. How can I limit them to some degree because most of them are not too relevant to me?
Note: I have already checked out Can I manually limit the %CPU used by a process? but it does not seem to work as expected.
viet@Mozg ~ pgrep -l systemsoundserv
506 systemsoundserv
viet@Mozg ~ sudo cputhrottle 506 10
libc++abi.dylib: terminating
with uncaught exception of type Process::ManipulatorException: Error
on task_for_pid of pid 506, res = 5 [1] 7594 abort sudo
cputhrottle 506 10