亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 10880 | 回復(fù): 5
打印 上一主題 下一主題

[新手入門] 用nmon或topas命令查看所占用內(nèi)存,這個數(shù)據(jù)是不是正確的? [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2011-05-24 15:34 |只看該作者 |倒序瀏覽
Memory
          Physical  PageSpace
% Used       99.8%      0.1%
% Free        0.2%     99.9%
MB Used   63330.5MB    92.7MB
MB Free     157.5MB 65443.3MB
Total(MB) 63488.0MB 65536.0MB

這里顯示內(nèi)存占用幾乎100%,但使用ps aux命令來查看%MEM列,幾乎都為0。
# ps aux
USER         PID %CPU %MEM   SZ  RSS    TTY STAT    STIME  TIME COMMAND
oraprod   647924  6.1  0.0 165048 232620      - A    13:59:54 89:49 oraclePROD (LOC
root         822  2.9  0.0  384  384      - A      Mar 18 44526:49 wait
root       13116  2.9  0.0  384  384      - A      Mar 18 44494:14 wait
root         554  2.9  0.0  384  384      - A      Mar 18 44371:31 wait
root       12848  2.9  0.0  384  384      - A      Mar 18 44334:06 wait
root         286  2.8  0.0  384  320      - A      Mar 18 43266:48 wait
root       12580  2.8  0.0  384  320      - A      Mar 18 43225:53 wait
root        8196  2.7  0.0  384  320      - A      Mar 18 42006:18 wait
root       49176  2.7  0.0  384  320      - A      Mar 18 41931:57 wait
root       16946  2.5  0.0  384  384      - A      Mar 18 38691:17 wait
root       21044  2.5  0.0  384  384      - A      Mar 18 38654:03 wait
root       53274  2.5  0.0  384  384      - A      Mar 18 38551:38 wait
root       57372  2.5  0.0  384  320      - A      Mar 18 38488:45 wait
root       17214  2.5  0.0  384  384      - A      Mar 18 38076:11 wait
root       21312  2.5  0.0  384  320      - A      Mar 18 38042:08 wait
root       16678  2.4  0.0  384  320      - A      Mar 18 37349:19 wait
root       20776  2.4  0.0  384  320      - A      Mar 18 37293:24 wait
oraprod  1421494  1.3  0.0 156564 224136      - A    15:16:34  3:15 oraclePROD (LOC
oraprod   521178  0.8  0.0 157044 224616      - A    09:03:39 50:55 oraclePROD (LOC
oraprod  1274034  0.5  0.0 157888 225460      - A    13:30:48  9:21 oraclePROD (LOC
oraprod   327754  0.2  0.0 155772 223344      - A    13:48:08  3:43 oraclePROD (LOC
oraprod  1520058  0.2  0.0 238592 306164      - A    13:30:16  4:12 oraclePROD (LOC
oraprod   975732  0.2  0.0 147280 214852      - A    15:15:20  0:33 oraclePROD (LOC
oraprod   922540  0.2  0.0 189612 257184      - A    09:05:54 10:15 oraclePROD (LOC

請問這是為什么?

論壇徽章:
12
CU大牛徽章
日期:2013-09-18 15:20:4815-16賽季CBA聯(lián)賽之同曦
日期:2016-02-01 20:28:25IT運維版塊每日發(fā)帖之星
日期:2015-11-10 06:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-10-28 06:20:002015亞冠之塔什干棉農(nóng)
日期:2015-06-04 11:41:56丑牛
日期:2014-05-10 16:11:33技術(shù)圖書徽章
日期:2013-09-23 13:25:58CU大牛徽章
日期:2013-09-18 15:21:17CU大牛徽章
日期:2013-09-18 15:21:12CU大;照
日期:2013-09-18 15:21:06CU大;照
日期:2013-09-18 15:20:58數(shù)據(jù)庫技術(shù)版塊每日發(fā)帖之星
日期:2016-02-08 06:20:00
2 [報告]
發(fā)表于 2011-05-24 15:40 |只看該作者
你先了解下這幾個字段的含義,不要望文生義

論壇徽章:
0
3 [報告]
發(fā)表于 2011-05-24 17:14 |只看該作者
你先了解下這幾個字段的含義,不要望文生義
mike79 發(fā)表于 2011-05-24 15:40



大師能麻煩說得詳細(xì)些嗎?

論壇徽章:
0
4 [報告]
發(fā)表于 2011-05-25 09:10 |只看該作者
可以man一下ps
里面有%MEM的解釋

The percentage of real memory used by this process. The %MEM value tends the exaggerate the cost of a process that is sharing program text with other processes. It does not account for times when multiple copies of a program are run and a copy of the program text is shared by all instances. The size of the text section is accounted for in every instance of the program. This means that if several copies of a program are run, the total %MEM value of all processes could exceed 100%.


其次從你ps -aux的信息看不出具體內(nèi)存的使用情況,你截屏太少了

論壇徽章:
0
5 [報告]
發(fā)表于 2011-05-25 10:11 |只看該作者
可以man一下ps
里面有%MEM的解釋

The percentage of real memory used by this process. The %MEM valu ...
InfoSVC 發(fā)表于 2011-05-25 09:10


對這段英文看不太明白。但有AIX命令的中文參考,截圖如下:

按它的意思不就是實際使用內(nèi)存嗎?
我看過所有的進程,%MEM這列都是0.0。

論壇徽章:
0
6 [報告]
發(fā)表于 2011-05-26 10:28 |只看該作者
這個的統(tǒng)計信息是說一個程序在其使用過程中使用的所有內(nèi)存包括共享內(nèi)存以及堆棧數(shù)據(jù)等,由于共享內(nèi)存可能出現(xiàn)重復(fù)使用,所以這個信息會比實際使用的內(nèi)存值要大,并且有可能會超過100%
這是這段解釋.

我不是很清楚mem%這個信息在系統(tǒng)級別倒是是按照一個什么時間片來統(tǒng)計的,但是從我這邊的主機上來看,這個參數(shù)確實大部分時間是0的

建議你看內(nèi)存不要使用ps aux了,用用nmon或則svmon吧
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP