Linux kernel
From Arnout Engelen
boletob
[edit] /proc/net/tcp documentation
In the process of writing Nethogs, I had to parse /proc/net/tcp, but there wasn't any documentation available for it.
I dove into the code, wrote some docs and submitted them, and they now come with the kernel sources.
[edit] Informative OOM-Killer
When a system runs out of memory, by default it is configured to invoke the 'OOM Killer', which takes an educated guess and kills a process to resolve the situation.
The OOM killer will record in the logs which process was killed. Unforatunately, if this is some kind of interpreter (like, 'java'), this is not very informative: we'd like to see the complete command-line with which the process was invoked. I wrote a small patch that adds an option to make the OOM logging a bit more useful.
[edit] Changelog
- 2007-06-14: Posted to the linux-mm list
- Incorporated some suggestions:
- made it optional
- set the size of the buffer to (PAGE_SIZE / sizeof(char)) characters - is that safe?
- 2007-03-05: first version published in a post to the KernelNewbies mailinglist
