From owner-freebsd-questions@FreeBSD.ORG Wed Feb 10 01:21:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B766D106566C for ; Wed, 10 Feb 2010 01:21:29 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-qy0-f189.google.com (mail-qy0-f189.google.com [209.85.221.189]) by mx1.freebsd.org (Postfix) with ESMTP id 79DB08FC17 for ; Wed, 10 Feb 2010 01:21:29 +0000 (UTC) Received: by qyk27 with SMTP id 27so531150qyk.3 for ; Tue, 09 Feb 2010 17:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=zbKKituydUgno0Sa+EJ3K34yJJRRjhbZa5v3CszNE+4=; b=N+ujVd21Oh/ECpAbB3elDud3rW+d6ZQnKTUQaoOxEd7l58qzxpACL+C3dtr6GeX+Q7 IcRTpWoQf6Jgq7siEUmyvk+KrYJ8A8TsPdD8tsndwGNNNlSNiUtQ4lh/3FcKJls0kc3s 7CmH6/J1Wk8cEZvH7oLnw7PqGRjASsGhWtn3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MDRPr2rta0R+wWpepih6y7BbS6F16Q1CbJFnbLLnv84t5PwmL7QJwdFVRZR/cteUaM iCBugIKFoAhM0wtxn2h060qlm8OSvdoMJC1iSZsexERRK8jsCd62zE7wE914M8VjaNe0 Q4o3wXk9X/TNyFBXwkbv7vGmO7QlJe1d9+upU= MIME-Version: 1.0 Received: by 10.224.31.212 with SMTP id z20mr3524545qac.265.1265764888809; Tue, 09 Feb 2010 17:21:28 -0800 (PST) Date: Tue, 9 Feb 2010 17:21:28 -0800 Message-ID: From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: curl question - not exactly on-topic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 01:21:29 -0000 Actually, it's not merely a curl question, it's a "curl and squid" question. I'm trying to determine the cause of a major slowdown in web browsing on our network, so I've put curl on the squid box, and am using the following incantations to see if I can determine the cause of the slowdown: curl -s -w "%{time_total}\n" "%{time_namelookup}\n" -o /dev/null http://www.example.com and curl -s -w "%{time_total}\n" "%{time_namelookup}\n" -o /dev/null -x 192.168.1.72 http://www.example.com The problem arises with the second version, which uses the proxy. The first incantation just returns the times, which is exactly what I want. However, when I use the -x parameter, to use the proxy, I get html returned as well as the times, which is a pain to separate out. Can someone point me on the road to suppressing the unwanted output? Kurt