<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 閱讀(270) 評論(0)  編輯  收藏 所屬分類: Linux

    主站蜘蛛池模板: 亚洲av无码国产精品色在线看不卡 | 一级成人a做片免费| 免费观看的av毛片的网站| 亚洲国产成+人+综合| 亚州免费一级毛片| 亚洲日本国产乱码va在线观看| 一个人免费日韩不卡视频| 2022年亚洲午夜一区二区福利| 免费人成视频在线观看网站 | 成人免费福利电影| 亚洲粉嫩美白在线| 永久久久免费浮力影院| 亚洲精品理论电影在线观看| 日韩视频在线免费观看| 色视频在线观看免费| 综合亚洲伊人午夜网| 美女视频黄a视频全免费网站色窝| 亚洲国产精品人久久| 57PAO成人国产永久免费视频| 亚洲av午夜精品无码专区| 欧洲美熟女乱又伦免费视频| 麻豆91免费视频| 亚洲AV人无码综合在线观看| 精品福利一区二区三区免费视频 | 亚洲色欲久久久综合网东京热| 任你躁在线精品免费| 亚洲无删减国产精品一区| 国产99视频精品免费观看7| 亚洲AV无码成人精品区狼人影院| 亚洲国产精品人人做人人爱| 另类免费视频一区二区在线观看| 亚洲午夜精品一区二区公牛电影院| 免费网站看v片在线香蕉| 亚州**色毛片免费观看| 亚洲日本在线看片| 免费看美女让人桶尿口| 手机看片国产免费永久| 亚洲熟女综合一区二区三区| 亚洲熟女一区二区三区| 在线观看AV片永久免费| 两个人看的www免费|