I am trying to follow this manual, which contains the instruction:
restart taskgated service by killing the current running taskgated process
How to do it? I am trying to find taskgated and got only some ttys007
, but no task gated process:
$ ps | grep taskgated
66942 ttys007 0:00.00 grep --exclude-dir=.svn taskgated
$lsof | grep taskgated
$
To save one step, simply execute:
sudo pkill taskgated
Since this is a process required by the kernel, it will be automatically respawned.
taskgated
is root
process, therefore you need to use sudo
.
$sudo lsof | grep taskgated
taskgated 13 root cwd DIR 1,2 1156 2 /
taskgated 13 root txt REG 1,2 71520 530715 /usr/libexec/taskgated
taskgated 13 root txt REG 1,2 29968 706441 /System/Library/PrivateFrameworks/ConfigProfileHelper.framework/Versions/A/ConfigProfileHelper
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With