sampleproc man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

sampleproc(1m)			 USER COMMANDS			sampleproc(1m)

NAME
       sampleproc - sample processes on the CPUs. Uses DTrace.

SYNOPSIS
       sampleproc [hertz]

DESCRIPTION
       This program samples which process is on each CPU, at a particular con‐
       figurable rate. This can be used as an estimate for  which  process  is
       consuming the most CPU time.

       Since  this  uses  DTrace, only users with root privileges can run this
       command.

EXAMPLES
       Sample at 100 hertz,
	      # sampleproc

       Sample at 400 hertz,
	      # sampleproc 400

FIELDS
       PID    process ID

       COMMAND
	      command name

       COUNT  number of samples

       PERCENT
	      percent of CPU usage

BASED ON
       /usr/demo/dtrace/prof.d

DOCUMENTATION
       DTrace Guide "profile Provider" chapter (docs.sun.com)

       See the DTraceToolkit for further documentation under the  Docs	direc‐
       tory. The DTraceToolkit docs may include full worked examples with ver‐
       bose descriptions explaining the output.

EXIT
       sampleproc will sample until Ctrl-C is hit.

SEE ALSO
       dtrace(1M)

version 0.70			 Jun 09, 2005			sampleproc(1m)
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net