I can't get strace to give any output against inetd. (which I'm trying to trace with -f to catch the startup of login.exe)
Here's what I tried: $ ps -a PID PPID PGID WINPID TTY UID STIME COMMAND 1636 1 1636 1636 0 13721 12:32:03 /usr/bin/rxvt 1576 1636 1576 604 1 13721 12:32:03 /usr/bin/bash 1252 1 1252 1252 ? 18 12:42:57 /usr/sbin/inetd 1796 1252 1252 1796 ? 18 12:42:57 /usr/sbin/inetd 580 1 580 580 4 13721 13:44:44 /usr/bin/rxvt 1244 580 1244 1356 5 13721 13:44:45 /usr/bin/bash 1732 1244 1732 1604 5 13721 13:46:40 /usr/bin/ps $ strace -p 1252 -f all <<returns immediately>> $ strace -p 1252 all <<returns immediately>> $ strace -p 1252 -f <<returns immediately>> $ strace -p 1796 -f all <<returns immediately>> $ strace -p 1796 all <<returns immediately>> $ strace -p 1796 -f <<sits at command line with no output, even during sucessful 'telnet localhost'>> <<Ctrl+C gets command prompt, but kills both inetd's>> diverting output to a file with the -o option has no effect. leaving off the -f has no effect, either Are there more complete instructions to strace besides --help, the Cygwin user guide, or winsup/utils/utils.sgml (all essentially the same thing)? Thanks, Chris > -----Original Message----- > From: Christopher Faylor [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, March 27, 2002 12:18 PM > To: [EMAIL PROTECTED] > Subject: Re: bash failed to initialize on telnet/rsh/rlogin server > > On Wed, Mar 27, 2002 at 09:05:20AM -0600, Polley Christopher W wrote: > >So now that I know how to isolate the problem, is there a way to strace > >a daemon? > > strace -p pid > > cgf > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/