在Ubuntu中,运行命令
我想在OS X/macOS中做同样的事情。
请问如何像Ubuntu中的
/usr/bin/time -v any-command
可以告诉我关于any-command
的内存使用情况和其他一些信息。
(来源:https://dev59.com/3HRA5IYBdhLWcg3w8SiJ#774601)我想在OS X/macOS中做同样的事情。
请问如何像Ubuntu中的
/usr/bin/time -v
那样获取进程的内存使用情况?
time
。请参见https://dev59.com/7FwY5IYBdhLWcg3wh4Lc#32515486 - sideshowbarker