- `Mac`下使用解析命令行参数出错。`Mac`的`getopt`不兼容`GNU`。 - 这个不是问题。自己手动来解析 来实现即可。 - `Mac`下`show-busy-java-threads`出错。`Mac`的`ps`不兼容`GNU`。 - 比如 不支持 输出 线程`ID`(即 `-L` 选项)。 - `Mac`下的`ps`的`-L`是: `List the set of keywords available for the -O and -o options.`
Mac下使用解析命令行参数出错。Mac的getopt不兼容GNU。Mac下show-busy-java-threads出错。Mac的ps不兼容GNU。ID(即-L选项)。Mac下的ps的-L是:List the set of keywords available for the -O and -o options.