Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 11645 invoked from network); 18 May 2010 15:24:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 15:24:19 -0000 Received: (qmail 67837 invoked by uid 500); 18 May 2010 15:24:19 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 67780 invoked by uid 500); 18 May 2010 15:24:18 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 67772 invoked by uid 99); 18 May 2010 15:24:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 15:24:18 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jerome.renard@gmail.com designates 209.85.161.45 as permitted sender) Received: from [209.85.161.45] (HELO mail-fx0-f45.google.com) (209.85.161.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 15:24:11 +0000 Received: by fxm15 with SMTP id 15so67010fxm.18 for ; Tue, 18 May 2010 08:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9mnc73GrunMnu4BWFM6xWve51nEMnACU+axh2BdqFfY=; b=QfHotgVTyi5W1EdEEuQHRJlQwuNf4u/Sq2qIaXha4R9UV80r270kTKBE/aqTVC9uKY R7GcSNuvr/DgGcyCo1Ugeqekaw92RHI+jebK1rtCda4RFsh8qFk4uWh4oJk/LIxwEql6 moGozU4vWMogny7w+jcSpYYGXnSzayBsRmWAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uTuhcZ5oNq9n6wuplFa+Cj5WA+NkbmGZWvU5F7V0VCOL9XAXzs/iVukMEDS/ZMi/Zh OwMe88+fYr415WxJmYuOTXR9uVhfbIEquC8WbgwpTYor+Ay2o2xQTApNdkUMCn6MlgGo I5m0HZ3T6cAHXVevQbhUOQiV6LOWR+EkpCFOU= MIME-Version: 1.0 Received: by 10.223.27.151 with SMTP id i23mr8288953fac.104.1274196231405; Tue, 18 May 2010 08:23:51 -0700 (PDT) Received: by 10.223.118.65 with HTTP; Tue, 18 May 2010 08:23:51 -0700 (PDT) In-Reply-To: <20100518150748.GB32575@titan30.mirohost.net> References: <20100518150748.GB32575@titan30.mirohost.net> Date: Tue, 18 May 2010 17:23:51 +0200 Message-ID: Subject: Re: Logging CPU / Memory usage From: Jerome Renard To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello, On Tue, May 18, 2010 at 5:07 PM, F10 wrote: > Hello list > I am writing a module that would be logged cpu time and memory usage for = each query to the vhost. > Need help how to implement it. How about reading how mod_status works first ? :) - http://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/generators/mod_= status.c Cheers, -- J=C3=A9r=C3=B4me