Mac OS与Sysinternals和Powertoys相对应

时间:2022-03-10 02:43:02

As a developer coming from a Windows background, I'd always find the different Powertoys and Sysinternals apps as invaluable tools in aiding programming. Is there something similar for a developer to watch for in the Mac world?

作为一名来自Windows背景的开发人员,我总是会发现不同的Powertoys和Sysinternals应用程序是帮助编程的宝贵工具。开发人员在Mac世界中有类似的东西吗?

5 个解决方案

#1


A lot of those types of tools are included with the Mac OS, and some are available separately from Apple.

Mac OS附带了许多这类工具,有些工具可以单独从Apple获得。

There's no Mac equivalent of the registry - everything goes in the file system somewhere - and you can use fs_usage to watch that. In a terminal:

没有Mac相当于注册表 - 一切都在文件系统的某个地方 - 你可以使用fs_usage来观察。在终端:

sudo fs_usage

Check out Instruments, part of the Apple developer tools distribution.

查看Instruments,Apple开发者工具发行版的一部分。

#2


Top 10 DTrace scripts for Mac OS X is an article that describes ten really useful tools that are Mac equivalents of some of the Sysinternals tools such as ProcessMon, FileMon, etc.

适用于Mac OS X的十大DTrace脚本是一篇文章,描述了十种非常有用的工具,它们与某些Sysinternals工具(如ProcessMon,FileMon等)等效。

The post's author created some of the scripts when he made the DTraceToolkit, which he says Apple then customized and enhanced for inclusion by default in Mac OS X.

该帖子的作者在制作DTraceToolkit时创建了一些脚本,他说苹果随后在Mac OS X中进行了自定义和增强,默认包含在内。

Some script names look like they end with the word "noop," which might be a bit confusing--it's actually "snoop." As in spying on system activity.

一些脚本名称看起来像是以“noop”结尾,这可能有点令人困惑 - 它实际上是“窥探”。就像监视系统活动一样。

#3


Mac OS X comes with a lot of unix tools like sar, top, etc. What metrics are you looking for specifically?

Mac OS X附带了很多unix工具,比如sar,top等。你有什么指标专门针对什么?

#4


Not as such. Some of the Powertoys implement features that are built-in to the OS, some are available as various utility programs.

不是这样的。一些Powertoys实现了内置于操作系统的功能,其中一些可用作各种实用程序。

As for Sysinternals, there are quite a lot of them. If you want specifics I'd need a better idea of what you use, but you could probably duplicate 90% of the functionality just from a terminal window. Learning how to use bash and the normal Unix utilities would be a very good skill to have.

至于Sysinternals,它们中有很多。如果你想要具体细节,我需要更好地了解你的用途,但你可能只是从终端窗口复制90%的功能。学习如何使用bash和普通的Unix实用程序将是一项非常好的技能。

#5


http://newosxbook.com/index.php?page=downloads provide almost exact counterparts, albeit in CLI mode - with the upside that they also work on (jailbroken) iOS.

http://newosxbook.com/index.php?page=downloads提供了几乎完全相同的对手,尽管是在CLI模式下 - 他们也可以处理(越狱)iOS。

#1


A lot of those types of tools are included with the Mac OS, and some are available separately from Apple.

Mac OS附带了许多这类工具,有些工具可以单独从Apple获得。

There's no Mac equivalent of the registry - everything goes in the file system somewhere - and you can use fs_usage to watch that. In a terminal:

没有Mac相当于注册表 - 一切都在文件系统的某个地方 - 你可以使用fs_usage来观察。在终端:

sudo fs_usage

Check out Instruments, part of the Apple developer tools distribution.

查看Instruments,Apple开发者工具发行版的一部分。

#2


Top 10 DTrace scripts for Mac OS X is an article that describes ten really useful tools that are Mac equivalents of some of the Sysinternals tools such as ProcessMon, FileMon, etc.

适用于Mac OS X的十大DTrace脚本是一篇文章,描述了十种非常有用的工具,它们与某些Sysinternals工具(如ProcessMon,FileMon等)等效。

The post's author created some of the scripts when he made the DTraceToolkit, which he says Apple then customized and enhanced for inclusion by default in Mac OS X.

该帖子的作者在制作DTraceToolkit时创建了一些脚本,他说苹果随后在Mac OS X中进行了自定义和增强,默认包含在内。

Some script names look like they end with the word "noop," which might be a bit confusing--it's actually "snoop." As in spying on system activity.

一些脚本名称看起来像是以“noop”结尾,这可能有点令人困惑 - 它实际上是“窥探”。就像监视系统活动一样。

#3


Mac OS X comes with a lot of unix tools like sar, top, etc. What metrics are you looking for specifically?

Mac OS X附带了很多unix工具,比如sar,top等。你有什么指标专门针对什么?

#4


Not as such. Some of the Powertoys implement features that are built-in to the OS, some are available as various utility programs.

不是这样的。一些Powertoys实现了内置于操作系统的功能,其中一些可用作各种实用程序。

As for Sysinternals, there are quite a lot of them. If you want specifics I'd need a better idea of what you use, but you could probably duplicate 90% of the functionality just from a terminal window. Learning how to use bash and the normal Unix utilities would be a very good skill to have.

至于Sysinternals,它们中有很多。如果你想要具体细节,我需要更好地了解你的用途,但你可能只是从终端窗口复制90%的功能。学习如何使用bash和普通的Unix实用程序将是一项非常好的技能。

#5


http://newosxbook.com/index.php?page=downloads provide almost exact counterparts, albeit in CLI mode - with the upside that they also work on (jailbroken) iOS.

http://newosxbook.com/index.php?page=downloads提供了几乎完全相同的对手,尽管是在CLI模式下 - 他们也可以处理(越狱)iOS。