next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects
Index of Subjects On Thu, 14 Nov 1996, David Priebe wrote: > Hello, > > Well, I believe I finally have tq running (at least the timerd portion of > it). Now a question/suggestion > > I am running Red Hat linux with an updated kernel 2.0.10. I received skill > as part of Chebucto software, as well as the Red Hat distribution. Well, > skill -t ttyp0 does not work on my system. I always get > skill: no matching processes when I try to kill somebody by there tty. I just spent most of the day investigating this problem and, strangely enough, it appears to be a trivial error in the skill source. The Linux skill looks in /proc to determine which processes correspond to which users, ttys, etc. Under /proc there is a directory for each running process, and in each of these directories there is a 'stat' file containing information about that process. skill was looking at the wrong field in this file for the process's controlling tty. > First the question. Anybody else using Linux tried this?? > Now the suggestion. I assume I am not alone in this, and that skill has a > problem with linux. This being the case, I suggest that for the next > distribution you may want to change the tq stuff to use > fuser -HUP -k /dev/ttyp0 for Linux. This does work. I have already > modified the tq scripts on my box. skill is being distributed now with CSuite but only gets built if it doesn't already exist on the system. In the next release, we can distribute the fixed version, make sure that it's built and use it in the scripts. In the meantime, fuser is a good workaround. Thanks for pointing this out to us. Landon ================================================================== Landon Boyd landon@chebucto.ns.ca Distribution Support Technician, http://chebucto.ns.ca/~landon Chebucto Community Net 902-455-4099hm 902-494-2449wk ==================================================================
next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects