<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    honzeland

    記錄點滴。。。

    常用鏈接

    統計

    Famous Websites

    Java

    Linux

    P2P

    最新評論

    RAM percentage utilised in Linux

    --zz: http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1230261484567+28353475&threadId=1213960

    Question:
    We are planning to calculate the percentage of physical memory utilised as below:

    System Page Size: 4Kbytes
    Memory: 5343128K (1562428K) real, 13632356K (3504760K) virtual, 66088K free Page# 1/604

    Now the formula goes as below:

    (free memory / actual active real memory) * 100
    (66088/1562428) * 100 = 4.22 %

    Please let us know if its the correct formula .

    Mainly we are interested in RAM percentage utilised

    Reply 1:
    Red Hat/Centos v 5 take spare ram and use it for a buffer cache.

    100% memory allocation is pretty meaningless because allocation is almost always near 100%. The 2.6.x kernel permits rapid re-allocation of buffer to other purposes eliminating a performance penalty that you see on an OS like HP-UX

    I'm not thrilled with your formula because it includes swap(virtual memory). If you start digging too deep into virtual memory, your system start paging processes from memory to disk and back again and slows down badly.

    The formula is however essentially correct.

    Reply 2:
    Here, a quick example from the machine under my desk:
    Mem:   3849216k total,  3648280k used,   200936k free,   210960k buffers
    Swap:  4194296k total,       64k used,  4194232k free,  2986460k cached

    If the value of 'Swap used' is up (i.e. hundreds of megabytes), then you've got an issue, but as you can see, it's only 64k here.
    Your formula for how much memory is used is something along the lines of this:

    (Used - (Buffers + Cached) / Total) * 100 = Used-by-programs%
    (Free + Buffers + Cached / Total) * 100 = Free%

    .. Roughly ..



    posted on 2008-12-26 12:08 honzeland 閱讀(271) 評論(0)  編輯  收藏 所屬分類: Linux

    主站蜘蛛池模板: 亚洲成AV人在线播放无码| 浮力影院第一页小视频国产在线观看免费 | 狼色精品人妻在线视频免费| 成人片黄网站色大片免费| 亚洲福利电影在线观看| 1000部拍拍拍18勿入免费视频软件| 亚洲日产2021三区在线| 一色屋成人免费精品网站| 亚洲依依成人亚洲社区| 国产成人啪精品视频免费网| 国产一区二区三区亚洲综合| 久久久久国产亚洲AV麻豆| 大地资源中文在线观看免费版| 亚洲成A∨人片在线观看不卡| 免费毛片a线观看| 亚洲成av人片在线看片| 成年免费大片黄在线观看岛国| 亚洲精品无码国产片| 亚洲国产免费综合| 青柠影视在线观看免费高清 | 亚洲最新黄色网址| 妞干网手机免费视频| 羞羞视频免费网站日本| 亚洲成人中文字幕| 日韩黄色免费观看| 国产精品视频全国免费观看| 久热综合在线亚洲精品| 噼里啪啦电影在线观看免费高清| 亚洲日产乱码一二三区别| 亚洲第一网站男人都懂| 人妻丰满熟妇无码区免费| 久久亚洲国产最新网站| 亚洲乱码日产精品a级毛片久久| 免费国产成人α片| 亚洲国产精华液2020| 亚洲国产精品va在线播放| 免费无码又爽又刺激聊天APP| 日韩少妇内射免费播放| 亚洲精品在线免费看| 亚洲国产精品无码久久青草| 50岁老女人的毛片免费观看|