solaris下如何查看各个进程占用内存的情况?
solaris下如何查看各个进程占用内存的情况? 我想查看进程代码段、数据段、堆栈段各是多少? The memtool can provide this info. 什么memtool啊?是不是要另外安装? 已经解决pmap -x <pid>
可以查看 prstat,有许多选项,可 man 一下看看有无符合要求的 原帖由 hust_mylong 于 2007-7-4 15:43 发表 http://bbs.chinaunix.net/images/common/back.gif
已经解决
pmap -x
可以查看
pmap
usage:pmap [-rslF] { pid | core } ...
(report process address maps)
pmap -x [-aslF] pid ...
(show resident/anon/locked mapping details)
pmap -S [-alF] { pid | core } ...
(show swap reservations)
-a: include shared mappings in - summary
-r: show reserved address maps
-s: show hardware page sizes
-l: show unresolved dynamic linker map names
-F: force grabbing of the target process
不行 楼上说的不行是什么意思? 我也有同样问题, 有好的方法么?
页:
[1]