Re: Attaching to a running CMUCL process

Pascal Bourguignon <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Organization InformatiMago.
Message-ID <[email protected]>
Håkon Alstadheim writes:
> Larry Clapp wrote:
> > On Tue, Oct 31, 2006 at 03:50:32PM -0500, Denis Papathanasiou wrote:
> >   
> >> Other than using detachtty/attachtty, is there any way to attach to
> >> a running CMUCL process and have access to its top level?
> >>     
> > [...]
> >   
> >> Unfortunately, I can't run the process I want to monitor under
> >> detachtty.
> >>     
> >
> > It's a long shot, but can you use screen?
> > http://en.wikipedia.org/wiki/GNU_Screen
> >
> >   
> Screen is way better and more stable. screen -d -m <your-lisp-executable>.

AFAIK, there's a big problem with screen:

  su - user -c 'screen -d -m any-program' 

doesn't work.  So you cannot use it for processes launched at boot
time, if not under root.

 

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Nobody can fix the economy.  Nobody can be trusted with their finger
on the button.  Nobody's perfect.  VOTE FOR NOBODY.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.