diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-11-13 02:20:13 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2014-11-13 02:24:21 +0800 |
commit | 34c84f8ff35d056db0c5a9c66c30935f5a7e49b7 (patch) | |
tree | 8f8c5b0021f85355b6594e07cced09731c3f5043 /bash_addps_tfcis | |
parent | 9b41603ce0836e5d6ae879988a110ac035bd2082 (diff) | |
download | configfile-bash_include-20141113.tar.gz configfile-bash_include-20141113.tar.zst configfile-bash_include-20141113.zip |
bash_include: 更新 get_memory_info 的實作方式bash_include-20141113
Linux: 由於 free 的輸出可能改變,因此參考 free 的文件改用 /proc/meminfo
Hurd: 與 Linux 相同,差別僅在於 /proc/meminfo 沒有 Slab
FreeBSD: 參考 top 的原始碼,加入 Memory (Buffer) 項目
NetBSD: 參考 top 的原始碼,嘗試用 vmstat 取得記憶體資訊
OpenBSD: 參考 top 的原始碼,嘗試用 vmstat 取得記憶體資訊
Diffstat (limited to 'bash_addps_tfcis')
0 files changed, 0 insertions, 0 deletions