From owner-freebsd-questions Fri Nov 17 9:49:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dns.comrax.com (dns.comrax.com [194.90.246.124]) by hub.freebsd.org (Postfix) with ESMTP id EEF9537B479 for ; Fri, 17 Nov 2000 09:49:36 -0800 (PST) Received: by dns.comrax.com (Postfix, from userid 100) id 7728C12C6F3; Fri, 17 Nov 2000 19:45:59 +0200 (IST) Received: from localhost (localhost [127.0.0.1]) by dns.comrax.com (Postfix) with ESMTP id 6261881DC8 for ; Fri, 17 Nov 2000 19:45:59 +0200 (IST) Date: Fri, 17 Nov 2000 19:45:59 +0200 (IST) From: noor@comrax.com To: freebsd-questions@freebsd.org Subject: CPU monitor. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, Is there a /dev file/device or maybe a daemon that can give information regarding running applications, and how much do they use the CPU? For instance, under top: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 89193 mysql 2 0 55860K 44188K poll 269:14 7.81% 7.81% mysqld 20284 apache 2 0 7908K 6188K sbwait 0:00 0.38% 0.29% httpd 16873 apache 2 0 7852K 6184K sbwait 0:03 0.05% 0.05% httpd 172 bind 2 0 2540K 1884K select 0:30 0.00% 0.00% named 11560 apache 2 0 7916K 6228K sbwait 0:22 0.00% 0.00% httpd 16850 apache 18 0 8384K 6704K lockf 0:04 0.00% 0.00% httpd 16799 apache 18 0 8328K 6676K lockf 0:03 0.00% 0.00% httpd 16936 apache 18 0 8356K 6660K lockf 0:03 0.00% 0.00% httpd 16908 apache 2 0 8260K 6580K sbwait 0:03 0.00% 0.00% httpd 20214 apache 2 0 8196K 6516K sbwait 0:02 0.00% 0.00% httpd ^ | | The usage information I need would be the CPU column here ---` Thanks for your help. Please CC on your answers. Noor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message