> $ ps -e -o pid,pid,lstart,time,command -H|grep -C 4 wmii The second 'pid' should've been 'ppid', but I think the parenting is still pretty clear in the original ps list.
__armando On Thu, Dec 10, 2009 at 3:31 PM, Armando Di Cianno <[email protected]> wrote: > I'm using the sunaku wmiirc setup, with some modifications, from > github. I tend to restart/re-run wmiirc a lot, as I make > modifications. I'm running an up-to-date Gentoo Linux system, with a > pretty basic setup. I had some X updates, so I decided to finally log > out, and try to diagnose an issue I observed that I thought might be > make clear with a fresh X log in. > > Anyways, basically I have multiple wmiirc's (ruby ones, in this case), > but only one seems germane to the current session. Here's a ps > output edited slightly for clarity. (Mail viewer's w/o monospace > might not show the parenting well.) > > $ ps -e -o pid,pid,lstart,time,command -H|grep -C 4 wmii > ... > 18600 18600 Tue Nov 17 16:45:15 2009 00:00:00 wmii > ... > 17775 17775 Wed Dec 2 11:52:34 2009 00:00:16 ruby > /home/fafhrd/.wmii/ruby-git/wmiirc > 2447 2447 Wed Dec 2 15:29:06 2009 00:00:00 wmii > ... > 19328 19328 Thu Dec 10 14:16:48 2009 00:00:00 ruby > /home/fafhrd/.wmii/ruby-git/wmiirc > ... > 19759 19759 Thu Dec 10 14:19:05 2009 00:00:00 /usr/bin/gdm > 19760 19760 Thu Dec 10 14:19:05 2009 00:00:00 /usr/bin/gdm > 19764 19764 Thu Dec 10 14:19:05 2009 00:01:04 /usr/bin/X :0 > -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7 > 19796 19796 Thu Dec 10 14:19:20 2009 00:00:00 /bin/sh > /etc/X11/gdm/Xsession custom > 19829 19829 Thu Dec 10 14:19:20 2009 00:00:00 xscreensaver -no-splash > 19832 19832 Thu Dec 10 14:19:20 2009 00:00:00 wmii > ... > 19866 19866 Thu Dec 10 14:19:20 2009 00:00:00 wmii > 19896 19896 Thu Dec 10 14:19:20 2009 00:00:05 ruby > /home/fafhrd/.wmii/ruby-git/wmiirc > > Now, if I run ~/.wmii/wmiirc (that file contains "wmiir xwrite /ctl > spawn ruby-git/wmiirc") again, I notice the following: > 1) wmii proceses still there: 18600, 2447, 19832, 19866 (all of them) > 2) ruby wmiirc processes still there: 17775, 19328 > 3) ruby wmiirc processes gone: 19896 > 4) ruby wmiirc processes new: 26416 > > I am seeing normal behavior here? Does anyone else have rogue wmii's > or wmiirc's? FWIW, the same behavior was happening to be in the sh > wmiirc's a while back, but I didn't think much of it, at the time. > How harmful could the extra wmiirc's processes be? Could they be > "eating" event from /event in 9p? > > The first wmii and wmiirc seem clearly wrong, having been launched on Dec 2nd. > > Thanks for any info -- a bit confused here, > __armando >
