|
NAMEshellsnoop - snoop live shell activity. Uses DTrace.SYNOPSISshellsnoop [-hqsv] [-p PID] [-u UID]DESCRIPTIONA program to print read/write details from shells, such as keystrokes and command outputs.This program sounds somewhat dangerous (snooping keystrokes), but is no more so than /usr/bin/truss, and both need root or dtrace privileges to run. In fact, less dangerous, as we only print visible text (not password text, for example). Having said that, it goes without saying that this program shouldn't be used for breeching privacy of other users. This was written as a tool to demonstrate the capabilities of DTrace. Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command. OSSolarisSTABILITYstable - this script uses the syscall provider.OPTIONS
EXAMPLES
FIELDS
DOCUMENTATIONSee the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.EXITshellsnoop will run forever until Ctrl-C is hit.AUTHORBrendan Gregg [Sydney, Australia]SEE ALSOdtrace(1M)
Visit the GSP FreeBSD Man Page Interface. |