Determine if a proc spawned under screen's control
Travis Spencer <[email protected]>
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <[email protected]> |
Hello, I working as a volunteer at school, and one of the things they want me to do all the time is search through the network for process that are no longer being used (aka, hunt down runaways). One criteria for determining if a process is a runaway is whether or not the user is logged in. If he/she isn't, it is almost a sure thing that the process has escaped control unless it was spawned during a screen session. Since screen is very popular at school, it has to be tested for. I have written a script to make this check, but it is unbearably slow and inaccurate. Can anyone suggest a fast way that will solidly report whether the process is currently under the control of an active screen session? -- Regards, Travis Spencer Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/gnu-screen/ To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/