河野真治 @ 琉球大学情報工学です。

In article <YAS.06Sep29190118@kirk.is.tsukuba.ac.jp>, yas@is.tsukuba.ac.jp (Yasushi Shinjo) writes
> MacOSX には ldd コマンドはないのですが、otool -L で代用でき
> ることがわかりました。こんな感じです。

ふふふ。

> strace も欲しいんだけどなあ。FreeBSD にはあるんだけど。

ktrace 使ってください。出力は kdump で見ます。10.0 あたりで「ktrace
さぽーとしてくれ〜」ってメール出した記憶がある。

KTRACE(1)                 BSD General Commands Manual                KTRACE(1)

NAME
     ktrace -- enable kernel process tracing

SYNOPSIS
     ktrace [-aCcdi] [-f trfile] [-g pgrp | -p pid] [-t trstr]
     ktrace [-adi] [-f trfile] [-t trstr] command

DESCRIPTION
     The ktrace command enables kernel trace logging for the specified pro-
     cesses.  Kernel trace data is logged to the file ktrace.out.  The kernel
     operations that are traced include system calls, namei translations, sig-
     nal processing, and I/O.

Sun では ptrace なはず。Windows ではなんだろう?

---
Shinji KONO @ Information Engineering, University of the Ryukyus
河野真治 @ 琉球大学工学部情報工学科