From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IaudE-0007er-P3 for garchives@archives.gentoo.org; Thu, 27 Sep 2007 14:46:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l8REZmRV021323; Thu, 27 Sep 2007 14:35:48 GMT Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l8REUmRj015474 for ; Thu, 27 Sep 2007 14:30:48 GMT Received: by fk-out-0910.google.com with SMTP id 19so4544604fkr for ; Thu, 27 Sep 2007 07:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Oorh1ypHnZdcr7syya9A+tZ25W1giityPtumzMR+eZo=; b=HGU0aq/5IMJtYrFq/9iHBIEmfU3tj46Ty2SvBe5rj1sUw2J7SzvQtTPeCA0wLo1/hxiS4Av77uZaejVh/WAeBVOsoR2ggbdPjzfdrmelkIhV2XQfgyQB3DL7gWOZRmtL8OyhPL5Bth1vbaKNQW/pmbg+JEPIUDJRRk6ZE/RMthE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iT272dLLGuJM0abYxSF0ZkyJt7UFBFgfEnuaWQA+PSLsVQk8cOmB95d7GVCFZZJqZLGnYTcPWSGnp+0EATrIfusFLtyalu1rnzubAysWAfYX5j/R5J1o9mhXmBB+w2AVVbdTwj0hwrYxtA9+3KU69Uz5DZX7Fe4ckKzpPdxXPrg= Received: by 10.82.100.1 with SMTP id x1mr4791818bub.1190903447916; Thu, 27 Sep 2007 07:30:47 -0700 (PDT) Received: by 10.82.174.10 with HTTP; Thu, 27 Sep 2007 07:30:47 -0700 (PDT) Message-ID: Date: Thu, 27 Sep 2007 16:30:47 +0200 From: "=?UTF-8?Q?Sz=C3=A9n=C3=A1si_Istv=C3=A1n?=" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] {OT} Strange apache2 access_log entries In-Reply-To: <49bf44f10709270710q3071044cob2ed32add2eb4659@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49bf44f10709261330m23c74923l8165853e9785e811@mail.gmail.com> <1190846931.30856.26.camel@localhost> <49bf44f10709261851s15b35799vb007ce039e3bf095@mail.gmail.com> <1190861078.20200.6.camel@blackwidow.nbk> <49bf44f10709262144x3491a3c1rd01cc2d703b0f7c6@mail.gmail.com> <49bf44f10709270710q3071044cob2ed32add2eb4659@mail.gmail.com> X-Archives-Salt: 8c216147-a0a8-4cd4-a303-1e8602ffbaf2 X-Archives-Hash: 321055e82990c580d17ed8984abce033 > It looks like netstat -p only gives me a snapshot and I can't seem to > predict when these errors will show up. Can I have it run > continuously and keep the output or something? You can run it continously with the -c option. You can simple redirect the output, but if you don't want a large file, you should filter it. Here's 2 examples: netstat --protocol=inet -c > inet_log.txt netstat --protocol=inet -c | grep localhost > inet The first example will show all connections with the inet protocol family. The second will show the rows only which contains the "localhost" string. -- gentoo-user@gentoo.org mailing list