]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/sh_who.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / sh_who.d.1m
1 .TH sh_who.d 1m   "$Date:: 2007-10-03 #$" "USER COMMANDS"
2 .SH NAME
3 sh_who.d - trace Bourne shell line execution by process using DTrace.
4 .SH SYNOPSIS
5 .B sh_who.d
6
7 .SH DESCRIPTION
8 This traces shell activity from all Bourne shells on the system that are
9 running with sh provider support.
10
11 Filenames are printed if available.
12 .SH OS
13 Any
14 .SH STABILITY
15 Evolving - uses the DTrace Shell provider, which may change 
16 as additional features are introduced. Check Shell/Readme
17 to see what version these scripts are based on.
18 .SH EXAMPLES
19 .TP
20 Default output,
21
22 .B sh_who.d
23 .PP
24 .SH FIELDS
25 .TP
26 PID
27 Process ID of the shell
28 .TP
29 UID
30 User ID of the owner
31 .TP
32 LINES
33 Number of times a line was executed
34 .TP
35 FILE
36 Pathname of the shell or shellscript
37 .PP
38 .SH DOCUMENTATION
39 See the DTraceToolkit for further documentation under the 
40 Examples, Notes and Docs directories. The example files may be
41 especially useful as they aim to demonstrate how to interpret
42 the output.
43 .SH EXIT
44 sh_who.d will run until Ctrl-C is hit.
45 .SH AUTHOR
46 Brendan Gregg
47 [CA, USA]
48 .SH SEE ALSO
49 dtrace(1M)