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

use*_*255 6 memory measurement ps

我正在使用脚本 - 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)

Pau*_*aul 1

根据作者在脚本页面上的评论,他在 StackOverflow 上回答说它以千字节为单位。