From owner-freebsd-net@freebsd.org Wed Aug 26 22:23:11 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 927669C3F58 for ; Wed, 26 Aug 2015 22:23:11 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55F64FAB for ; Wed, 26 Aug 2015 22:23:11 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ZUj64-000Pxu-75; Wed, 26 Aug 2015 23:23:08 +0100 Date: Wed, 26 Aug 2015 23:23:08 +0100 From: Gary Palmer To: Chris Stankevitz Cc: John-Mark Gurney , freebsd-net@freebsd.org Subject: Re: ssh over WAN: TCP window too small Message-ID: <20150826222308.GH13503@in-addr.com> References: <55DCF080.7080208@stankevitz.com> <20150826010323.GN33167@funkthat.com> <55DD2A98.2010605@stankevitz.com> <20150826082457.GQ33167@funkthat.com> <55DE2FDF.5030707@stankevitz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55DE2FDF.5030707@stankevitz.com> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2015 22:23:11 -0000 On Wed, Aug 26, 2015 at 02:30:07PM -0700, Chris Stankevitz wrote: > > ktrace -i ssh ... > > Thank you, this is awesome. Is there a way for me to ktrace 'b' in this > example: `a | b | c`? I tried `ktrace a | b | c` and `ktrace test.sh` > (which included a|b|c) but neither seemed to work. I'm using stream > redirection now but it doesn't afford me the bs control of dd. Perhaps > named pipes is the solution. a | ktrace b | c or ktrace -di test.sh (I suspect only -i is needed, but I've gotten so used to using both flags) You can also start ktrace on an existing process if you know its PID ktrace -p To stop all ongoing tracing: ktrace -C Regards, Gary