From: | CARNIL [...] cpan.org |
Subject: | libproc-processtable-perl: Proc::ProcessTable does not know states t, X, x, K for Linux |
Hi
This bug has been forwarded from http://bugs.debian.org/646785
Proc::ProcessTable does not known about all the states found in Linux
source under fs/proc/array.c [1].
[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=464763cf1c6df632dccc8f2f4c7e50163154a2c0
When Proc::ProcessTable encounters such a process, it returns
ppt_warn("Ran into unknown state (hex char: %x)", (int) prs->state_c);
i.e. for tracing stop processes, unknown state (hex char: 74).
There is a bugreport already for the 'X (dead)' case [2].
[2] https://rt.cpan.org/Public/Bug/Display.html?id=54488
Could you add support for these states?
Thanks in advance,
Salvatore Bonaccorso, Debian Perl Group