Manual Pages for UNIX Darwin command on man lastwords
MyWebUniversity

Manual Pages for UNIX Darwin command on man lastwords

lastwords(1m) USER COMMANDS lastwords(1m)

NAME

lastwords - print syscalls before exit. Uses DTrace.

SYNOPSIS

llaassttwwoorrddss ccoommmmaanndd

DESCRIPTION

This 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 the root user or users with the dtracekernel privilege can run this command. EEXXAAMMPPLLEESS Catch last few syscalls for dying netscape processes,

# llaassttwwoorrddss nneettssccaappee

FFIIEELLDDSS TIME 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 call BBAASSEEDD OONN /usr/demo/dtrace/ring.d DDOOCCUUMMEENNTTAATTIIOONN DTrace Guide "Buffers and Buffering" chapter (docs.sun.com)

See the DTraceToolkit for further documentation under the Docs direc-

tory. The DTraceToolkit docs may include full worked examples with ver-

bose descriptions explaining the output. EEXXIITT

lastwords will sample until a command with that name exits.

SEE ALSO

dtruss(1M), dtrace(1M)

version 0.70 Jun 08, 2005 lastwords(1m)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™