You’re checking Activity Monitor, seeing what’s taking up resources on your Mac, when you notice a process called opendirectoryd. What does that even mean?

当您注意到一个名为opendirectoryd的进程时,您正在检查Activity Monitor ,查看Mac上正在占用的资源。 那有什么意思?

This article is part of our ongoing series explaining various processes found in Activity Monitor, like kernel_task, hidd, mdsworker, installd, WindowServer, blued, launchd, backup, and many others. Don’t know what those services are? Better start reading!

这篇文章是一部分我们正在进行一系列解释各种进程在活动监视器中发现,像kernel_task , hidd , mdsworker , INSTALLD , WindowServer ,发蓝, launchd会,备份,和其他许多人。 不知道这些服务是什么? 最好开始阅读!

This particular process, opendirectoryd, is a key part of macOS. It is a daemon, which means it runs in the background performing system tasks, and it’s the main process of Open Directory, the directory service used by macOS. A directory service handles most everything related to local networking, including users and shared folders. To quote the opendirectoryd man page:

这个特定的过程,在opendirectory下,是macOS的关键部分。 它是一个守护程序,这意味着它在后台运行以执行系统任务,并且是Open Directory (macOS使用的目录服务)的主要过程。 目录服务处理与本地网络相关的大多数事务,包括用户和共享文件夹。 引用opendirectoryd手册页:

Open Directory forms the foundation of how Mac OS X accesses all authoritative configuration information (users, groups, mounts, managed desktop data, etc.).

Open Directory构成了Mac OS X如何访问所有权威配置信息(用户,组,装载,托管桌面数据等)的基础。

The process is particularly important in macOS environments connected to a server, but also serves an important purpose for home users who do things like share files over the network or connect to Wi-Fi enabled printers.

该过程在连接到服务器的macOS环境中尤其重要,但对于执行诸如通过网络共享文件或连接到支持Wi-Fi的打印机之类的家庭用户而言,此过程也非常重要。

如何配置开放目录 (How to Configure Open Directory)

The man page goes on to say that configuring opendirectoryd mainly happens through the “Users & Groups” section of System Preferences.

该手册页继续说,配置opendirectoryed主要是通过“系统偏好设置”的“用户和组”部分进行的。

We’ve explained how to set up multiple user accounts in the past, including network-only accounts. You didn’t know it, but you were configuring Open Directory when you did that.

我们已经解释了过去如何设置多个用户帐户,包括仅网络帐户。 您不知道它,但是您在配置Open Directory时就这么做了。

And you can dig in deeper, if you’re curious. For more granular control over opendirectoryd you should open the Directory Utility, which you can find from this window. First, click the Login Options button in the left hand panel, then click the “Join” button.

如果您感到好奇,则可以深入研究。 要对opendirectoryed进行更精细的控制,应打开“目录实用程序”,您可以在此窗口中找到它。 首先,单击左侧面板中的“登录选项”按钮,然后单击“加入”按钮。

You’ll find a button for the Directory Utility; click it.

您将找到目录实用程序的按钮; 点击它。

Now you’ve opened the Directory Utility, which will give you a comprehensive look at what opendirectoryd is doing for you.

现在,您已经打开了目录实用程序,它将使您全面了解opendirectoryed为您提供的服务。

Don’t change anything unless you really, really know what you’re doing, because this is not exactly user friendly. But digging through here should give you a pretty good idea of what it is opendirectoryd does.

除非您真的非常了解自己在做什么,否则请不要进行任何更改,因为这并非完全用户友好。 但是在这里进行深入研究应该可以使您对opendirectoryed的功能有一个很好的了解。

如果opendirectoryed正在消耗系统资源 (If opendirectoryd Is Using Up System Resources)

It’s relatively rare for opendirectoryd to take up much in the way of system resources, and it tends to mainly happen in managed environments. If you work in an office with a central server, let IT staff know if opendirectoryd is taking up system resources: there might be some issues with your network.

opendirectory占用系统资源的方式相对很少,而且通常主要发生在托管环境中。 如果您在带有中央服务器的办公室中工作,请让IT人员知道opendirectoryed是否正在占用系统资源:您的网络可能存在一些问题。

If you’re just a home user experiencing these sorts of problems, restarting your Mac will solve any spike in opendirectoryd’s resource usage most of the time. If problems persist you’ll have to do some digging, because there are all sorts of reasons this might be happening. Etrecheck runs dozens of diagnostics at once; run that and see if any networking related issues come up. If you don’t find anything consider heading to the Apple Store.

如果您只是遇到此类问题的家庭用户,那么重新启动Mac可以在大多数情况下解决opendirectoryd资源使用方面的任何高峰。 如果问题仍然存在,则必须进行一些挖掘,因为有各种原因可能会发生这种情况。 Etrecheck一次运行数十个诊断程序; 运行它,看看是否有任何与网络相关的问题。 如果找不到任何内容,请考虑前往Apple Store。

Photo Credit: Helloquence

图片来源: Helloquence

翻译自: https://www.howtogeek.com/321324/what-is-opendirectoryd-and-why-is-it-running-on-my-mac/

什么是opendirectoryed,为什么它可以在Mac上运行?相关推荐

  1. mac运行什么脚本_这是什么过程,为什么要在我的Mac上运行?

    mac运行什么脚本 If you spend any time at all poking through Activity Monitor, you know that loads of proce ...

  2. python mac可以运行win不能运行_Pymssql程序可以在mac上运行,但不能在windows上运行...

    我有一段代码,如果我在mac上运行这个程序(MBA运行mavericks),它的工作原理就像一个符咒.如果我将代码移动到windows box(windows server 2008 R2 64位), ...

  3. winehq-stable-5.0 Download For Mac 在Mac上运行exe文件

    winehq-stable-5.0 Download For Mac 在Mac上运行exe文件 点击下载 (访问密码:312306)

  4. 别只关注M1芯片的苹果笔记本,iOS APP支持在 Mac上运行也是大事

    将会在当地时间 11 月 10 日(北京时间 11 月 11 日凌晨 2 点)在 Apple Park 举办发布会,这是苹果在本年度秋季举行的第三次发布会,App Store 上似乎透露出发布会的蛛丝 ...

  5. 什么是“ parentalcontrolsd”,为什么它在我的Mac上运行?

    Something called parentalcontrolsd is running on your Mac-at least, that's what you found when you c ...

  6. 都有哪些应用程序可以在M1 Mac上运行?

    如果您有幸使用新的M1 Mac,或者考虑购买一台Mac,您会想知道您需要使用的应用程序是否可以在其中运行. 苹果公司拥有Rosetta 2-一种用于翻译用于英特尔处理器的代码的工具,以便M1芯片可以理 ...

  7. 如何在M1 Mac上运行iOS应用?

    苹果最新的MacBook Air,MacBook Pro和Mac Mini进行了重要的更改:它们都使用了苹果自己的硅M1处理器.得益于该创新芯片,iOS和MacOS应用程序的融合向前迈出了一大步. 这 ...

  8. Parallels 16已可在支持Windows的M1 Mac上运行

    Parallels Desktop 16 被称为macOS上最强大的虚拟机软件,可以在 Mac 下同时模拟运行 Win.Linux.Android 等多种操作系统及软件而不必重启电脑,并能在不同系统间 ...

  9. mac 不受信任在哪里更改_什么是受信任的,为什么它可以在Mac上运行?

    mac 不受信任在哪里更改 So you found something called trustd running on your Mac, and are now wondering if it ...

  10. 什么是云,为什么它可以在Mac上运行?

    You might have noticed something named cloudd running on your Mac while using Activity Monitor. Shou ...

最新文章

  1. symfony小练习-表白墙
  2. apache重写规则转Nginx
  3. Entity Framework Core 5中实现批量更新、删除
  4. 从壹开始 [ Id4 ] 之一║ 授权服务器 IdentityServer4 开篇讲计划书
  5. MongoDB 的命令操作
  6. SlidingMenu第三篇 --- SlidingMenu使用介绍
  7. php校企合作综合实习管理系统的设计与实现
  8. GJB 测试报告(模板)
  9. C# 之 MouseHook(鼠标钩子)使用
  10. 【脏数据】什么是脏数据:脏数据的种类、类型
  11. 计算机多媒体简历,[计算机个人简历模板范文]计算机多媒体专业个人简历
  12. (转)2016年对冲基金经理“封神榜”
  13. dfuse 与 Solana 宣布合作,为其高吞吐量区块链提供强大的数据解决方案
  14. 脂肪率——最忠实的胖瘦指标
  15. 微信小程序对接快递鸟接口返回格式有误的解决
  16. C++ handle classes
  17. 螺旋矩阵一个n行n列的螺旅矩阵可由如下方法生成:从矩阵的左上角(第1行第 1列)出发,初始时向右移动;如果前方是未曾经过的格子,则继续前进,否则右转;重复上述操作直至经过矩阵中所有格子。
  18. 清除浏览器操作—JavaWeb网页刷新
  19. java可以用数字开头做变量吗_java变量为什么不能以数字开头
  20. 图像识别自动化android,Android自动化测试

热门文章

  1. 成为工程师,而不是码农(需求分析)
  2. iOS 3D Touch浅谈
  3. Notepad++运行添加浏览器解决方法
  4. 我的世界服务器地图导入了没显示不出来,我的世界加载别人地图资源不显示建筑的原因...
  5. java中堆和栈的区别!!!!
  6. 南方人物周刊:雷军的宿命
  7. 华为虚拟服务器分布式存储_华为云服务器分析,分布式存储
  8. soapui工具_Java 开发者不容错过的 12 种高效工具
  9. CSS选择器+盒子模型+定位( 基础笔记 )
  10. 西安创新港信息科技有限公司简介