对于/dev/kmem,它能干什么
/dev/kmem是核心内存设备文件,这个文件可以被怎样控制呢???有人了解么,可以用它来干些什么???
代码里哪部分是描述这个的??? man kmem
/usr/src/linux/char/mem.c some profiling tools can read it and analysis it.
for example
http://www.gnu.org/directory/All_Packages_in_Directory/atkins.html
atkins - Examine variables, tables, and linked lists in the kernel
'atkins' examines variables, tables, and linked lists in the running kernel. Subcommands can be entered to show formatted kernel administration of processes, open files, incore inodes, page cache buffers, sockets, etc. Memory dumps can be shown using virtual or physical addresses, or using addresses within user space of a particular process. Furthermore stack backtraces can be printed e.g. to determine the reason why a particular process is currently in a wait-state. Note that atkins requires a certain level of knowledge about the Linux kernel.
页:
[1]