ratrace - trace process system calls
ratrace [ pid ] | [ -c command ]
Ratrace shows the system calls executed by a process, either the one
with pid or a fresh invocation of command.
Trace output is determined by the kernel, not ratrace. Certain fixed
rules apply. The first four fields of the output are pid, text name,
system call name, and the PC of the user program. Data is always
printed as pointer/"string", where the string is the first 32 bytes of
the data, with replacing non-printing ASCII characters (printing char‐
acters are those between ASCII space (SP) and delete (DEL), exclusive).
Return values follow an and include the integer return value, the
errstr (with "" if there is no errstr), and the start and stop times
for the system call in nanoseconds. The times are exclusive of the
overhead for tracing.
SEE ALSOacid(1), db(1), proc(3)BUGS
The printing of the data is too limited in length; printing instead of
something more sensible is limiting.