1 .TH errinfo 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 errinfo \- print errno for syscall fails. Uses DTrace.
6 [\-a|\-A|\-hsvZ] [\-c command]
8 errinfo snoops syscall failures and prints the errno value and
9 description of the error number.
11 This program can help determine if applications are silently
12 failing, providing some details on the cause.
14 Since this uses DTrace, only the root user or users with the
15 dtrace_kernel privilege can run this command.
19 stable - needs the syscall provider.
23 counts - print an aggregate style report containing a
24 frequency count of errors
30 examine processes with ths name only (eg, "ls")
33 Default output, print errors as they occur,
38 Print a frequency count report,
44 Snoop errors as they occur for "ssh" processes,
50 Snoop errors for PID 81 only,
58 Program name (truncated)
67 Description of errno message
70 See the DTraceToolkit for further documentation under the
71 Docs directory. The DTraceToolkit docs may include full worked
72 examples with verbose descriptions explaining the output.
74 errinfo will run forever until Ctrl\-C is hit.
77 /usr/include/sys/errno.h
78 Contains the full descriptions for the error numbers.