- 论坛徽章:
- 0
|
我上面说的是类似的问题发生时你要做的查找原因、分析记录的方法。\r\n如果你实在等不了直接重启应用或者操作系统那么内存自然会释放回来的,但重启以后你也无法再继续分析了。\r\n\r\n在给你一些其他的观察内存的命令:\r\nipcs -mb\r\n\r\nsvmon -G\r\n\r\nTo print out the percentage of memory used, type:\r\nsvmon -F\r\n\r\nTo print out the top 10 users of the paging space, type:\r\nsvmon -U -g -t 10\r\n\r\nTo print out the memory usage statistics for the user oracle including the processes belonging to\r\nsteve, type:\r\nsvmon -U oracle -d\r\n\r\nTo print out the memory usage statistics for the user oracle, including the list of the process identifiers,\r\ntype:\r\nsvmon -U oracle -l\r\n\r\nTo print out the memory usage statistics of the top 5 working segment according to the number of\r\nvirtual pages , type:\r\nsvmon -S -t 5 -w -v\r\n\r\nTo print out the memory usage statistics for the process 13130, type:\r\nsvmon -P 13130\r\n\r\nTo print out the memory usage statistics of the top 10 process according to the number of pinned\r\npages, enter\r\nsvmon -P -t 10 -p\r\n\r\nTo sort system segments by the number of pages in real memory, and print out the top 10 system\r\nsegments of the resulting list, type:\r\nsvmon -Ssu -t 10 |
|