Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Server-Uuid: 2d3b7162-db1d-11d3-b8ee-0008c7dfb6f1 Message-ID: <718198F862F1D411B10F0002A50A4DB1059FE8E7@e90wwce3.dx.deere.com> From: "Polley Christopher W" Reply-to: cygwin AT cygwin DOT com To: "'cygwin AT cygwin DOT com'" Subject: strace on inetd (was RE: bash failed to initialize on telnet/rsh/ rlogin server) Date: Wed, 27 Mar 2002 14:20:35 -0600 MIME-Version: 1.0 X-WSS-ID: 10BCF61121397-01-02 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 <> $ strace -p 1252 all <> $ strace -p 1252 -f <> $ strace -p 1796 -f all <> $ strace -p 1796 all <> $ strace -p 1796 -f <> <> 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:cygwin AT cygwin DOT com] > Sent: Wednesday, March 27, 2002 12:18 PM > To: cygwin AT cygwin DOT com > 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/