摘要: From: http://lwn.net/Articles/454389/CPUs may not have gotten hugely faster in recent years, but they have gained in other ways; a typical system-on-chip (SoC) device now has a number of peripherals which would qualify as reasonably powerful CPUs in their own right. More powerful devices with direct 阅读全文
posted @ 2012-06-28 18:10 super119 阅读(486) 评论(0) 推荐(0) 编辑
摘要: From: http://www.cnblogs.com/bravery/archive/2012/06/27/2560611.html概述 想必在linux上写过程序的同学都有分析进程占用多少内存的经历,或者被问到这样的问题——你的程序在运行时占用了多少内存(物理内存)?通常我们可以通过top命令查看进程占用了多少内存。这里我们可以看到VIRT、RES和SHR三个重要的指标,他们分别代表什么意思呢?这是本文需要跟大家一起探讨的问题。当然如果更加深入一点,你可能会问进程所占用的那些物理内存都用在了哪些地方?这时候top命令可能不能给到你你所想要的答案了,不过我们可以分析proc文件系统提供的s 阅读全文
posted @ 2012-06-28 09:10 super119 阅读(475) 评论(0) 推荐(0) 编辑