Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   strace    ( 1 )

отслеживать системные вызовы и сигналы (trace system calls and signals)

Диагностика (Diagnostic)

When command exits, strace exits with the same exit status.  If
       command is terminated by a signal, strace terminates itself with
       the same signal, so that strace can be used as a wrapper process
       transparent to the invoking parent process.  Note that parent-
       child relationship (signal stop notifications, getppid(2) value,
       etc) between traced process and its parent are not preserved
       unless -D is used.

When using -p without a command, the exit status of strace is zero unless no processes has been attached or there was an unexpected error in doing the tracing.