Messages in this thread | | | Date | Fri, 9 Jan 2004 01:32:38 +0100 | From | Roger Luethi <> | Subject | Re: time cat /proc/*/statm ? |
| |
On Thu, 08 Jan 2004 13:54:58 -0500, u1_amd64@dslr.net wrote: > Is it reasonable for a 64bit dual cpu to take 5+ seconds of processing to > cat /proc/*/statm when there is hardly more than 1gb of actual memory > space used by processes (the rest being filesystem cache)? > > This makes top or anything else that uses statm, unusable.
Why does top still read /proc/*/statm anyway? It's not as if top actually ever used that information (the top I looked at at the time, that is). I submitted a patch a few months ago to remove statm because it is a) broken and b) redundant. The message containing detailed reasoning should be in the linux-mm archives.
Roger - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |