您的位置:首页 > 运维架构

top 命令显示隐藏参数列

2008-11-12 16:12 489 查看
top 命令显示隐藏参数列

例如 键入top,然后键入f,然后键入s,回车后显示 DATA列

o: VIRT -- Virtual Image (kb)

The total amount of virtual memory used by the task. It includes

all code, data and shared libraries plus pages that have been

swapped out.

VIRT = SWAP + RES.

p: SWAP -- Swapped size (kb)

The swapped out portion of a task’s total virtual memory image.

q: RES -- Resident size (kb)

The non-swapped physical memory a task has used.

RES = CODE + DATA.

r: CODE -- Code size (kb)

The amount of physical memory devoted to executable code, also

known as the ’text resident set’ size or TRS.

s: DATA -- Data+Stack size (kb)

The amount of physical memory devoted to other than executable

code, also known as the ’data resident set’ size or DRS.

这里面的RES就是 ps -lfp 产生的 RSS 这个参数(见另一篇博文AIX下进程内存分析
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: