Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292378

Request for Comment: Adding information to user core dumps

From "Kevin Grigorenko" <kevin.grigorenko@us.ibm.com>
Newsgroups linux.kernel
Subject Request for Comment: Adding information to user core dumps
Date 2015-12-15 18:30 +0100
Message-ID <qG1Ae-7eq-23@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi there. I plan to create a patch that puts additional ELF notes into 
core dumps of user processes produced by the kernel. These are desired in 
customer field work because 1) we often get a core without access to the 
original machine and much of this would remove significant delays and 
errors, and 2) most customers have poor system monitoring and some of this 
information is lost. Are there any objections, previous patches, or ideas?

Draft list of additions (all will be available in coredump_filter; some 
proposed as enabled by default [TBD]):
1. Equivalent output of /proc/PID/smaps. The benefits include an accurate 
view of process size, Rss for each VMA, knowing about non-readable VMAs, 
etc.
2. The value of /proc/PID/coredump_filter
3. The values of 
/proc/sys/kernel/[core_pattern|core_pipe_limit|core_uses_pid]
4. Timestamp for a few stages of core dump processing, such as the 
beginning and when writing metadata/notes completed
5. Memory statistics for the system and processes (similar to OOM killer 
output)
6. Equivalent output of `uname -a`
7. Equivalent output of /proc/cpuinfo
8. Process envars
9. Equivalent output of /proc/sys/vm/swappiness
10. Equivalent output of /proc/PID/cmdline
11. Equivalent output of /proc/PID/cwd
12. Equivalent output of lsof for this process
13. Equivalent output of /proc/PID/limits

Thanks for your time.

--
Kevin Grigorenko
IBM WebSphere Foundation SWAT Team
kevin.grigorenko@us.ibm.com
Blog: https://www.ibm.com/developerworks/mydeveloperworks/blogs/kevgrig/


--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Request for Comment: Adding information to user core dumps "Kevin Grigorenko" <kevin.grigorenko@us.ibm.com> - 2015-12-15 18:30 +0100

csiph-web