小编use*_*255的帖子

`ps -o` 以什么单位报告内存使用情况?

我正在使用脚本 - memusg - 报告我的 rails 应用程序的峰值内存使用情况。该脚本用于ps -o测量内存使用情况。我的问题是:ps -o报告内存使用情况的单位是什么?

该脚本可以在这里找到。

而且,这是运行的输出:

$~/bin/memusg rails s
=> Booting Thin
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server

<-- snip --> 

$memusg: peak=2607332
Run Code Online (Sandbox Code Playgroud)

memory measurement ps

6
推荐指数
1
解决办法
4567
查看次数

标签 统计

measurement ×1

memory ×1

ps ×1