Query: lastwords
OS: osx
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
lastwords(1m) USER COMMANDS lastwords(1m)NAMElastwords - print syscalls before exit. Uses DTrace.SYNOPSISlastwords commandDESCRIPTIONThis prints the last few system calls for processes matching the given name, when they exit. This makes use of a ring buffer so that the impact on the system is minimised. Since this uses DTrace, only users with root privileges can run this command.EXAMPLESCatch last few syscalls for dying netscape processes, # lastwords netscapeFIELDSTIME time of syscall return, ns PID process ID EXEC process name (execname) SYSCALL system call RETURN return value for the system call ERR errno for the system callBASED ON/usr/demo/dtrace/ring.dDOCUMENTATIONDTrace Guide "Buffers and Buffering" chapter (docs.sun.com) See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output.EXITlastwords will sample until a command with that name exits.SEE ALSOdtruss(1M), dtrace(1M) version 0.70 Jun 08, 2005 lastwords(1m)
Related Man Pages |
---|
topsyscall(1m) - mojave |
lastwords(1m) - osx |
pridist.d(1m) - osx |
syscallbypid.d(1m) - mojave |
sigdist.d(1m) - osx |
Similar Topics in the Unix Linux Community |
---|
Some command line docs |
linux include files |