pidpersec.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
NAME
pidpersec.d - print new PIDs per sec. Uses DTrace.
SYNOPSIS
pidpersec.d
DESCRIPTION
This script prints the number of new processes created per second. Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command.
OS
Solaris
STABILITY
stable - needs the proc provider.
EXAMPLES

Print PID statistics per second, # pidpersec.d

FIELDS

TIME time, as a string

LASTPID last PID created

PID/s Number of processes created per second

DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.
EXIT
pidpersec.d will run until Ctrl-C is hit.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO
execsnoop(1M), dtrace(1M)