我正在尝试遵循this手册,其中包含以下说明:

restart taskgated service by killing the current running taskgated process

怎么做?我正在尝试找到taskgated,并且只有一些ttys007,但是没有任务门控的进程:
$ ps | grep taskgated
66942 ttys007    0:00.00 grep --exclude-dir=.svn taskgated
$lsof | grep taskgated
$

最佳答案

taskgatedroot进程,因此您需要使用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

关于macos - 如何重新启动任务进程?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/20047691/

10-09 06:13