简体   繁体   English

是否有Mac OS X版本的lsdev?

[英]Is there a mac os x version of lsdev?

As listed in the title, 如标题中所示,

Is there an alternative for lsdev lsdev是否有替代方案

on mac os bash? 在Mac OS Bash上?

Completely different format and some common, some different information, but this may help: 完全不同的格式以及一些常见的一些信息,但这可能会有所帮助:

system_profiler

Credit to https://serverfault.com/a/8647 归功于https://serverfault.com/a/8647

Note lsdev interrogates the /proc/ filesystem interface into the kernel. 注意lsdev/proc/文件系统接口询问到内核中。 This interface does not exist in OSX, so a direct lsdev port would be highly non-trivial. 此接口在OSX中不存在,因此直接的lsdev端口将非常重要。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM