- `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.`