Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 11134 invoked from network); 4 Jan 2005 16:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 16:51:53 -0000 Received: (qmail 17733 invoked by uid 500); 4 Jan 2005 16:44:29 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 17689 invoked by uid 500); 4 Jan 2005 16:44:28 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 17594 invoked by uid 99); 4 Jan 2005 16:44:25 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from iss04.interliant.com (HELO iss04.interliant.com) (198.3.182.194) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 08:44:20 -0800 Received: from EX-008.mail.navisite.com (ex-008.interliant.com [198.3.179.39]) by iss04.interliant.com (8.10.2/8.10.2) with ESMTP id j04Gi2G03307 for ; Tue, 4 Jan 2005 10:44:02 -0600 (CST) Received: from [83.139.76.246] ([83.139.76.246]) by EX-008.mail.navisite.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Tue, 4 Jan 2005 10:43:57 -0600 Message-ID: <41DAC7D0.1010507@apache.org> Date: Tue, 04 Jan 2005 17:44:00 +0100 From: Mladen Turk User-Agent: Mozilla X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: adding features to Status servlet References: <27e674a9050103113655a33753@mail.gmail.com> <27e674a90501031856100d8979@mail.gmail.com> <27e674a9050103200955ca0266@mail.gmail.com> <27e674a90501032114beef582@mail.gmail.com> <27e674a9050104070318539995@mail.gmail.com> In-Reply-To: <27e674a9050104070318539995@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Jan 2005 16:43:58.0098 (UTC) FILETIME=[96140F20:01C4F27C] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Peter Lin wrote: > to elaborate a bit more my thoughts on the kind of stats would be > useful from a monitoring perspective > > * system load > * system freeram > * system total ram > * system free ram > * open connections > * # of connections timed_wait > > I'm sure are other stats that are useful. A combination of the > existing stats from the status servlet plus a few system stats should > go a long way and make life a little bit easier. > For WINNT we can get: IdleTime, KernelTime, UserTime for each CPU on the system. Using NtQuerySystemInformation. GlobalMemoryStatus: dwMemoryLoad Approximate percentage of total physical memory that is in use. dwTotalPhys Total size of physical memory, in bytes. dwAvailPhys Size of physical memory available, in bytes. dwTotalPageFile Size of the committed memory limit, in bytes. dwAvailPageFile Size of available memory to commit, in bytes. dwTotalVirtual Total size of the user mode portion of the virtual address space of the calling process, in bytes. dwAvailVirtual Size of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process, in bytes. We can get handle count (will see if it can be filtered for sockets only) for current process. Mladen. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org