Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2000 19:45:59 +0200 (IST)
From:      noor@comrax.com
To:        freebsd-questions@freebsd.org
Subject:   CPU monitor.
Message-ID:  <Pine.BSF.4.21.0011171941580.20208-100000@dns.comrax.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011171941580.20208-100000>