On Sat, May 04, 2002 at 04:20:08PM +0200, Roy Sigurd Karlsbakk wrote:
> Below is output from free and /proc/meminfo. Attached is a screen shot
> from the 'gtop' Memory usage output. They show a computer with uptime 2
> days and 2 hours. It looks like quite a large chunk is 'missing'...
Did you check /proc/slabinfo? The 6th column lists the number of 4KB
pages used by each 'slabcache'. The following script shows meminfo as
well as the 2 (typically) large slab-users.
Jan
#!/bin/sh
cat /proc/meminfo
awk '/^inode_cache/ {printf("Inode slab:\t%6d kB\n", 4 * $6);} /^dentry_cache/ {printf("Dentry slab:\t%6d kB\n", 4 * $6);}' < /proc/slabinfo
-
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/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:23 EST