aboutsummaryrefslogtreecommitdiff
path: root/ja/man/man1/truss.1
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1998-10-10 13:09:09 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1998-10-10 13:09:09 +0000
commit1df2059db73d2cbb52178c19b2d4ab834f4a5144 (patch)
treeb906d9cf72865a0582ee668fc592d2e0a6c8d36c /ja/man/man1/truss.1
parente360fabf3bb9fccb746f69e52db056c0dc364efc (diff)
downloaddoc-1df2059db73d2cbb52178c19b2d4ab834f4a5144.tar.gz
doc-1df2059db73d2cbb52178c19b2d4ab834f4a5144.zip
Fix typos and sync with 3.0-19980827-SNAP (without ppp.8).
Reviewed by: Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG> Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
Notes
Notes: svn path=/head/; revision=3589
Diffstat (limited to 'ja/man/man1/truss.1')
-rw-r--r--ja/man/man1/truss.171
1 files changed, 71 insertions, 0 deletions
diff --git a/ja/man/man1/truss.1 b/ja/man/man1/truss.1
new file mode 100644
index 0000000000..beda921c09
--- /dev/null
+++ b/ja/man/man1/truss.1
@@ -0,0 +1,71 @@
+.Dd Nov 23, 1997
+.\" jpman %Id: truss.1,v 1.2 1998/10/06 20:28:40 vanitas Stab %
+.\"
+.\" WORD: trace トレース(する)[ktrace.1, mtrace.8]
+.\"
+.Dt TRUSS 1
+.Os FreeBSD
+.Sh 名称
+.Nm truss
+.Nd システムコールをトレースする
+.Sh 書式
+.Nm truss
+.Op Fl S
+.Op Fl o Ar file
+.Fl p Ar pid
+.Nm truss
+.Op Fl S
+.Op Fl o Ar file
+command
+.Op args
+.Sh 解説
+.Nm truss
+は指定したプロセスやプログラムが呼び出すシステムコールを
+トレースします。出力は指定した出力ファイルか、デフォルトでは
+標準エラー出力へ送られます。処理は
+.Xr procfs 5
+でプロセスを監視し、それを停止させたり再開させて行なわれます。
+.Pp
+オプションは以下のとおりです :
+.Bl -tag -width indent
+.It Fl S
+プロセスが受信するシグナルについての情報は表示しない。
+(通常、
+.Nm
+はシステムコールイベントと同様、シグナル情報も表示します。)
+.It Fl o Ar file
+出力を標準エラー出力ではなく、指定したファイル
+.Ar file
+へ送ります。
+.It Fl p Ar pid
+新しくコマンドを起動するのではなく、指定したプロセス ID
+.Ar pid
+のプロセスを追います。
+.It Ar command Op args
+コマンド
+.Ar command
+を実行し、そのシステムコールをトレースします。
+(オプション
+.Fl p
+と
+.Ar command
+は互いに排他的にしか使用できません。)
+.Sh 実行例
+# "hello" を echo する際に使われるシステムコールを追います
+.Dl $ truss /bin/echo hello
+# 同じことをしますが、出力をファイルに書き込みます
+.Dl $ truss -o /tmp/truss.out /bin/echo hello
+# すでに動作しているプロセスを追います
+.Dl $ truss -p 1
+.Sh 関連項目
+.Xr kdump 1 ,
+.Xr ktrace 1 ,
+.Xr procfs 5
+.Sh 歴史
+.Nm
+コマンドは
+.An Sean Eric Fagan
+が
+.Bx Free Ns 用に作成しました。
+System V Release 4 や SunOS で利用可能な
+類似のコマンドをモデルにしました。